forked from orbit-oss/is
Add is.domElement() (#11)
This commit is contained in:
parent
6268253ec6
commit
75ac3cd574
4 changed files with 42 additions and 1 deletions
|
|
@ -145,11 +145,14 @@ Check if `value` (number) is in the range of `0` to `upperBound`.
|
|||
is.inRange(3, 10);
|
||||
```
|
||||
|
||||
##### .domElement(value)
|
||||
|
||||
Returns `true` if `value` is a DOM Element.
|
||||
|
||||
##### .infinite(value)
|
||||
|
||||
Check if `value` is `Infinity` or `-Infinity`.
|
||||
|
||||
|
||||
##### .empty(value)
|
||||
|
||||
Returns `true` if `value` is falsy or an empty string, array, object, map, or set.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue