nl_tokens: Returns the type of the given variable in string format . List of possible values are :
pl_tokens: function ( value ) { if ( value === null ) { return 'null' ; } var type = typeof value ; if ( type === 'undefined' || type === 'string' || type === 'number' || type === 'boolean' ) { return type ; } var typeToString = toString . call ( value ) ; switch ( typeToString ) { case '[object Array]' : return 'array' ; case '[object Date]' : return 'date' ; case '[object Boolean]' : return 'boolean' ; case '[object Number]' : return 'number' ; case '[object RegExp]' : return 'regexp' ; } if ( type === 'function' ) { return 'function' ; } if ( type === 'object' ) { if ( value . nodeType !== undefined ) { if ( value . nodeType === 3 ) { return ( / \S / ) . <mask> ( value . nodeValue ) ? 'textnode' : 'whitespace' ; } else { return 'element' ; } } return 'object' ; } //<debug error> Ext . Error . raise ( { sourceClass : 'Ext' , sourceMethod : 'typeOf' , msg : 'Failed to determine the type of the specified value "' + value + '". This is most likely a bug.' } ) ; //</debug> }