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

REBOL 3 Functions: block?

block?  value

Returns TRUE if it is this type.

Arguments:

value [any-type!]

See also:

type?  

Description

Returns FALSE for all other values.

print block? [1 2 3]
true
print block? "1 2 3"
false
data: load "1 2 3"  ;  converts "1 2 3" into a block
if block? data [print data]
1 2 3


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