Rebol Programming/true?

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]