Class Roo.type
Package: | Roo |
Defined In: |
Roo.js.
|
Class: | type |
Returns the type of object that is passed in. If the object passed in is null or undefined it
return false otherwise it returns one of the following values:
- string: If the object passed is a string
- number: If the object passed is a number
- boolean: If the object passed is a boolean value
- function: If the object passed is a function reference
- object: If the object passed is an object
- array: If the object passed is an array
- regexp: If the object passed is a regular expression
- element: If the object passed is a DOM Element
- nodelist: If the object passed is a DOM NodeList
- textnode: If the object passed is a DOM text node and contains something other than whitespace
- whitespace: If the object passed is a DOM text node and contains only whitespace
Config Options - Has None
Public Properties - Has None
Public Methods - Has None