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

  1. element*-any

    The element to check

Return

  1. -Boolean

    true if is a DOM node, false if not

Example

import { isDomNode } from '@blackbyte/sugar/is'
isDomNode($myElement);

Todo

  • testsnormal