nl_tokens: Check if the value is - a type
pl_tokens: function isType ( type , val ) { return ( type == Any ) || ( type == Object && is . object ( val ) ) || ( type == Function && is . function ( val ) ) || ( type == <mask> && is . string ( val ) ) || ( type == Error && is . error ( val ) ) || ( type == Number && is . number ( val ) ) || ( type == Array && is . array ( val ) ) || ( type == Boolean && is . boolean ( val ) ) || ( type == RegExp && is . regExp ( val ) ) || ( type == Date && is . date ( val ) ) || ( type == null && is . nullOrUndefined ( val ) ) || ( val instanceof type ) }