Difference between revisions of "GroupExists"

From Catglobe Wiki
Jump to: navigation, search
Line 1: Line 1:
 
[[Category:Group_Functions]]
 
[[Category:Group_Functions]]

+
{{HelpFiles}}
  
 
====groupExists====
 
====groupExists====

Revision as of 09:57, 12 December 2011



groupExists

Returns true if a group by that id exists, false if no group by that id exists.

Syntax

groupExists(groupId)

Arguments

groupId: a numeric expression. It is the group’s id.

Return type

bool

Example

bool b = groupExists(1);

Availability

Version 5.2

groupExists (alternative 1)

Returns true if a group by that name exists, false if no group by that name exists.

Syntax

groupExists(groupName)

Arguments

groupName: a string expression. It is the group’s name.

Return type

bool

Example

bool b = groupExists("Qnaire_Group");

Availability

Version 5.2