Tagscript

ImplicitBool

TagScript


Function: implicitBool()

implicitBool(str): boolean | null

Defined in: Utils/Util.ts:43

Checks if the given value is 'true' or 'false'. If it is, it returns the boolean value. Otherwise, it returns null

Parameters

str

string

The string to check

Returns

boolean | null

On this page