REBOL Programming/true?

From Wikibooks, open books for an open world
< REBOL Programming
Jump to: navigation, search

USAGE:[edit]

TRUE? val 

DESCRIPTION:[edit]

Returns true if an expression can be used as true.

TRUE? is a function value.

ARGUMENTS[edit]

  • val -- (Type: any)

SOURCE CODE[edit]

true?: func [
    "Returns true if an expression can be used as true." 
    val
][not not :val]