Namespace: Boolean

utilx. Boolean

utilx.Boolean
Source:

Methods

(static) isBoolean(inputArg) → {boolean}

Returns true if the operand inputArg is a boolean.
Parameters:
Name Type Description
inputArg *
Source:
Returns:
Type
boolean

(static) isBooleanAny(inputArg) → {boolean}

Returns true if the operand inputArg is a boolean literal or object.
Parameters:
Name Type Description
inputArg *
Source:
Returns:
Type
boolean

(static) isBooleanObject(inputArg) → {boolean}

Returns true if the operand inputArg is a boolean object.
Parameters:
Name Type Description
inputArg *
Source:
Returns:
Type
boolean

(static) isFalse(inputArg) → {boolean}

Returns true if the operand inputArg is a false.
Parameters:
Name Type Description
inputArg *
Source:
Returns:
Type
boolean

(static) isFalseAny(inputArg) → {boolean}

Returns true if the operand inputArg is a boolean literal or object with the value of false.
Parameters:
Name Type Description
inputArg *
Source:
Returns:
Type
boolean

(static) isFalseObject(inputArg) → {boolean}

Returns true if the operand inputArg is a boolean object with the value of false.
Parameters:
Name Type Description
inputArg *
Source:
Returns:
Type
boolean

(static) isTrue(inputArg) → {boolean}

Returns true if the operand inputArg is a true.
Parameters:
Name Type Description
inputArg *
Source:
Returns:
Type
boolean

(static) isTrueAny(inputArg) → {boolean}

Returns true if the operand inputArg is a boolean literal or object with the value of true.
Parameters:
Name Type Description
inputArg *
Source:
Returns:
Type
boolean

(static) isTrueObject(inputArg) → {boolean}

Returns true if the operand inputArg is a boolean object with the value of true.
Parameters:
Name Type Description
inputArg *
Source:
Returns:
Type
boolean