Methods
isCollection(value) → {Boolean}
Returns if a value is a collection of html elements.
Parameters:
Name | Type | Description |
---|---|---|
value |
* | the value to check |
Returns:
true if value is a collection of html elements
- Type
- Boolean
Example
if( isCollection(val) ){
return val.item(0);
}