HB_IsBlock()
Tests if the value returned by an expression is a Code block.
Syntax
HB_IsBlock( <expression> ) --> lIsCodeblock
Arguments
<expression> an expression of any data type
Return
.T. (true) if the value returned by <expression> is a code block, otherwise .F. (false) is returned.
Description
HB_IsBlock() is used to test if a variable contains a code block or if the result of an expression is of data type Code block. The function can be used as a replacement for the expression: Valtype(<expression>)==”B”.
Seealso
HB_IsArray(), HB_IsByRef(), HB_IsDate(), HB_IsHash(), HB_IsLogical(), HB_IsMemo(), HB_IsNIL(), HB_IsNull(), HB_IsNumeric(), HB_IsObject(), HB_IsPointer(), HB_IsString(), Type(), Valtype()