Difference between revisions of "BIS fnc dbIsClass"

From Bohemia Interactive Community
Jump to navigation Jump to search
(See also)
(Formatting)
Line 8: Line 8:
 
____________________________________________________________________________________________
 
____________________________________________________________________________________________
  
| <pre>//
+
| Checks if string is class definition. |DESCRIPTION=
/*
 
 
 
Description:
 
Checks if string is class definition.
 
 
 
Parameter(s):
 
_this select 0: STRING
 
 
 
Returns:
 
BOOLEAN
 
*/
 
 
 
</pre><small>''(Placeholder description extracted from the function header by [[BIS_fnc_exportFunctionsToWiki]])''</small> |DESCRIPTION=
 
 
____________________________________________________________________________________________
 
____________________________________________________________________________________________
  
| <!-- [] call [[BIS_fnc_dbisClass]]; --> |SYNTAX=
+
| text call [[BIS_fnc_dbisClass]]; |SYNTAX=
  
|p1= |PARAMETER1=
+
|p1= text - [[String]]: Check if text is in class format |PARAMETER1=
  
| |RETURNVALUE=
+
| [[Boolean]]: true when the argument starts with "#" (class symbol returned with [[BIS_fnc_dbSymbolClass]]) |RETURNVALUE=
 
____________________________________________________________________________________________
 
____________________________________________________________________________________________
  
|x1= <code></code> |=  
+
|x1= <code>"#MYCLASS" call BIS_fnc_dbisClass; {{codecomment|// true}}
 +
"#myclass" call BIS_fnc_dbisClass; {{codecomment|// true}}
 +
"MYCLASS" call BIS_fnc_dbisClass; {{codecomment|// false}}
 +
1234 call BIS_fnc_dbisClass; {{codecomment|// false}}</code> |=  
 
____________________________________________________________________________________________
 
____________________________________________________________________________________________
  

Revision as of 15:39, 20 June 2019

Template:Function

Notes

Bottom Section