An open API service indexing awesome lists of open source software.

https://github.com/serapath/x-is-dom

check if x is a dom element
https://github.com/serapath/x-is-dom

Last synced: about 1 year ago
JSON representation

check if x is a dom element

Awesome Lists containing this project

README

          

# x-is-dom
check if x is a dom element

# usage

```js
var isDom = require('x-is-dom')

isDom(document.createElement('div')) // => true
```

# related
a list of other `x-is-...` modules can be found at
* [x-is](https://www.npmjs.com/package/x-is)