xHarbour Reference Documentation > Function Reference |
Tests if the value returned by an expression is a logical value.
HB_IsLogical( <expression> ) --> lIsLogical
The function returns .T. (true) if the value returned by <expression> is of data type Logical, otherwise .F. (false) is returned.
Function HB_IsLogical() is used to test if a variable contains a logical value or if the result of an expression is of data type Logical. The function can be used as a replacement for the expression: Valtype(<expression>)=="L".
See also: | HB_IsArray(), HB_IsBlock(), HB_IsByRef(), HB_IsDate(), HB_IsHash(), HB_IsMemo(), HB_IsNIL(), HB_IsNull(), HB_IsNumeric(), HB_IsObject(), HB_IsPointer(), HB_IsString(), Type(), Valtype() |
Category: | Debug functions , Logical functions , xHarbour extensions |
Source: | rtl\valtype.c |
LIB: | xhb.lib |
DLL: | xhbdll.dll |
http://www.xHarbour.com