cns_isView

Checks whether the given string is a valid CNS view identifier.

Synopsis

bool cns_isView(string node);

Parameters

Parameter Description
node String to be checked for a valid CNS view identifier.

Return value

Returns TRUE if the given string is a valid CNS view identifier, otherwise FALSE. The function does not check whether the referenced view actually exists.

Description

This function checks whether the given string is a valid CNS view identifier. It does not verify whether the referenced view actually exists in the CNS.

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

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

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

Availability

UI, CTRL