cns_viewExists

Checks whether the given view exists or not.

Synopsis

bool cns_viewExists(string sViewPath);

Parameters

Parameter Description
sViewPath ID of the view that shall be checked

Return value

Returns TRUE if the given view exists otherwise FALSE.

Errors

-

Description

This function checks if there is a view with the given ID.

main()
{
  cns_viewExists("System1.IAmAView:");
}

Availability

UI, CTRL