REBOL 3 Docs Guide Concepts Functions Datatypes Errors
  TOC < Back Next >   Updated: 3-Aug-2010 Edit History  

REBOL 3 Functions: logic?

logic?  value

Returns TRUE if it is this type.

Arguments:

value [any-type!]

See also:

type?  

Description

Returns FALSE for all other values. Note that all conditional functions will accept more than just a LOGIC value. A NONE will act as FALSE, and all other values other than logic will act as TRUE.

print logic? true
true
print logic? 123
false


  TOC < Back Next > REBOL.com - WIP Wiki Feedback Admin