cns_isView

Checks whether the given ID is a view.

Synopsis

bool cns_isView(string node);

Parameters

Parameter Description
node ID of the node that shall be checked

Return value

Returns TRUE if the ID belongs to a view, otherwise FALSE.

Errors

-

Description

This function checks if the given ID belongs to a view

Validates if the Node "System1.IAmAView:" is a view.

For this example to return true the view "IAmAView" needs to be created within the Editor.

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

Availability

UI, CTRL