isDomElement

Type:Function
Status:stable
Since:1.0.0
Platform:js
@blackbyte.sugar.js.is

Check if the passed element is a DOM element

Params

  1. element*-any

    The element to check

Return

  1. -Boolean

    true if is a DOM element, false if not

Example

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

Todo

  • testsnormal