ISLOGICAL

Returns the boolean value true if the value passed to the function is a logical value else returns False.

Syntax

= ISLOGICAL(value)

Parameters

value

A value which has to be checked.  The value can be specified as a decimal value (e.g., 37.48), as a string (“True”), as a Boolean (e.g., True), as an expression (e.g., 1+1=2), or as the value of a variable (e.g, UnitPrice).

Return Type

Boolean

Examples

Example

Returns

= ISLOGICAL(True)

True

= ISLOGICAL(“True”)

True

= ISLOGICAL(1+1=2)

True

= ISLOGICAL(UnitPrice)

True if the value of UnitPrice is a logical value else returns False.