Difference between revisions of "SampleRuleExists"

From Catglobe Wiki
Jump to: navigation, search
 
Line 1: Line 1:
[[Category:User_Functions]]
+
[[Category:Questionnaire_Functions]]
 
{{HelpFiles}}
 
{{HelpFiles}}
  

Latest revision as of 10:07, 11 December 2019



sampleRuleExists

Returns true if a sample by that id exists, otherwise, returns false.

Syntax

sampleRuleExists(sampleId)

Arguments

sampleId: a numeric expression. It is the id of the sample.

Return type

bool

Example

bool b = sampleRuleExists (1);

Availability

Version 5.2