@elonehoo/is-dom
TypeScript icon, indicating that this package has built-in type declarations

0.0.2 • Public • Published

Is Dom

Check if the given object is a dom node.

Install

# npm
npm install --save-dev @elonehoo/is-dom

# yarn
yarn add --dev @elonehoo/is-dom

# pnpm
pnpm install --save-dev @elonehoo/is-dom

Usage

import isDom from '@elonehoo/is-dom'

isDom(window.document)

License

MIT License © 2022-PRESENT Elone Hoo

Readme

Keywords

none

Package Sidebar

Install

npm i @elonehoo/is-dom

Weekly Downloads

1

Version

0.0.2

License

MIT

Unpacked Size

3.76 kB

Total Files

6

Last publish

Collaborators

  • elonehoo