BIS_fnc_dbIsClass

From Bohemia Interactive Community
Revision as of 11:09, 14 June 2021 by Lou Montana (talk | contribs) (Text replacement - "\|game([0-9])=([^ ]+) * \|version([0-9])=([^ ]+) * " to "|game$1=$2 |version$3=$4 ")
Jump to navigation Jump to search
Hover & click on the images for description

Description

Description:
Checks if string is class definition.
Execution:
call
Groups:
Database

Syntax

Syntax:
text call BIS_fnc_dbIsClass
Parameters:
text - String: Check if text is in class format
Return Value:
Boolean: true when the argument starts with "#" (class symbol returned with BIS fnc dbSymbolClass)

Examples

Example 1:
"#MYCLASS" call BIS_fnc_dbIsClass; // true "#myclass" call BIS_fnc_dbIsClass; // true "MYCLASS" call BIS_fnc_dbIsClass; // false 1234 call BIS_fnc_dbIsClass; // false

Additional Information

See also:
Database functions BIS fnc dbClassCheck BIS fnc dbClassId BIS fnc dbClassIndex BIS fnc dbClassList BIS fnc dbClassRemove BIS fnc dbClassReturn BIS fnc dbClassSet BIS fnc dbConfigPath BIS fnc dbImportConfig BIS fnc dbImportXML BIS fnc dbIsValue BIS fnc dbPrintBIS fnc dbSymbolClass BIS fnc dbSymbolValue BIS fnc dbValueCheck BIS fnc dbValueId BIS fnc dbValueIndex BIS fnc dbValueList BIS fnc dbValueRemove BIS fnc dbValueReturn BIS fnc dbValueSet

Notes

Report bugs on the Feedback Tracker and/or discuss them on the Arma Discord or on the Forums.
Only post proven facts here! Add Note