nl_tokens: Throws an error if the boolean passed to it evaluates to false . To be used like this : assert ( myDate ! == undefined Date cannot be undefined . ) ;
pl_tokens: function assert ( condition , errorMessage ) { var error = processCondition ( condition , errorMessage ) ; if ( typeof error === 'string' ) { throw new Error ( <mask> ) ; } }