Skip to content
angerangel edited this page Mar 8, 2013 · 1 revision

USAGE

   ASSERT conditions /type

DESCRIPTION

Assert that condition is true, else throw an assertion error.

ASSERT is a native value.

ARGUMENTS

  • conditions (block!)

REFINEMENTS

  • /type -- Safely check datatypes of variables (words and paths)

#SOURCE

assert: make native! [  [
    {Assert that condition is true, else throw an assertion error.}
    conditions [block!]
    /type {Safely check datatypes of variables (words and paths)}
] ]

Clone this wiki locally