nl_tokens: VALIDATE // FUNCTION : validate ( opts options ) Validates function options .
pl_tokens: function validate ( opts , options ) { if ( ! isObject ( options ) ) { return new TypeError ( 'transpose()::invalid input argument. Options argument must be an object. Value: `' + <mask> + '`.' ) ; } if ( options . hasOwnProperty ( 'copy' ) ) { opts . copy = options . copy ; if ( ! isBoolean ( opts . copy ) ) { return new TypeError ( 'transpose()::invalid option. Copy option must be a boolean primitive. Option: `' + opts . copy + '`.' ) ; } } return null ; }