shared
utils
string
object
is
extension
js
tracking
string
dom
when
selection
position
iframe
event
scroll
console
node
string
project
fs
console
isDomNode
Type:Function
Status:stable
Since:1.0.0
Platform:js
@blackbyte.sugar.js.is
Check if the passed element is a DOM node
Params
- element*-any
The element to check
Return
- -Boolean
true if is a DOM node, false if not
Example
import { isDomNode } from '@blackbyte/sugar/is'
isDomNode($myElement);Todo
- testsnormal
Author
- Olivier Bosselolivier.bossel@gmail.comhttps://blackbyte.space