isText: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "\| \[\[.+\]\] \<nowiki\>\=\<\/nowiki\> " to "| ")
(Example tweak)
Line 12: Line 12:
|p1=  config: [[Config]]
|p1=  config: [[Config]]
| [[Boolean]]
| [[Boolean]]
|x1 = <code> _ok <nowiki>=</nowiki> '''isText''' (configFile >> "CfgVehicles") </code>
|x1 = <code> _ok <nowiki>=</nowiki> '''isText''' (configFile >> "CfgVehicles") {{cc|false}} </code>
 
|x2 = <code> _ok <nowiki>=</nowiki> '''isText''' (configFile >> "CfgVehicles" >> "B_MRAP_01_F" >> "displayName") {{cc|true}} </code>
Result is false 
|seealso= [[configFile]], [[config / name]], [[configName]], [[count]], [[getArray]], [[getText]], [[getNumber]], [[inheritsFrom]], [[isArray]], [[isClass]], [[isNumber]], [[select]]
|seealso= [[configFile]], [[config / name]], [[configName]], [[count]], [[getArray]], [[getText]], [[getNumber]], [[inheritsFrom]], [[isArray]], [[isClass]], [[isNumber]], [[select]]
}}
}}

Revision as of 10:01, 14 May 2021

Hover & click on the images for description

Description

Description:
Description needed
Groups:
Config

Syntax

Syntax:
Syntax needed
Parameters:
config: Config
Return Value:
Return value needed

Examples

Example 1:
_ok = isText (configFile >> "CfgVehicles") // false
Example 2:
_ok = isText (configFile >> "CfgVehicles" >> "B_MRAP_01_F" >> "displayName") // true

Additional Information

See also:
configFileconfig / nameconfigNamecountgetArraygetTextgetNumberinheritsFromisArrayisClassisNumberselect

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