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
- Host: GitHub
- URL: https://github.com/serapath/x-is-dom
- Owner: serapath
- License: mit
- Created: 2016-11-22T16:06:01.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2016-11-22T16:11:04.000Z (over 9 years ago)
- Last Synced: 2025-03-15T09:16:51.460Z (over 1 year ago)
- Language: JavaScript
- Homepage: https://www.npmjs.com/package/x-is-dom
- Size: 1000 Bytes
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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)