Methods
isNodeList(value) → {Boolean}
Returns if a value is a node list.
Parameters:
Name | Type | Description |
---|---|---|
value |
* | the value to check |
Returns:
true if value is a node list
- Type
- Boolean
Example
if( isNodeList(val) ){
return val.item(0);
}