# iselement

> Utility function that returns `true` if referenced object is DOM element.

Latest version **1.1.4** (published 2016-08-30) · MIT license · 0 weekly downloads

## Install

```sh
npm install iselement
pnpm add iselement
yarn add iselement
bun add iselement
```

## Health

**Score 20/100 (F)** — status: abandoned.

Positive: esm support; no vulnerabilities.

Warnings: low downloads; no types.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.1.4 |
| Published | 2016-08-30 |
| First published | 2016-03-07 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | ESM + CommonJS |
| Dependencies | 0 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 2 |
| Author | Riki Fridrich |
| Maintainers | fczbkk |

## Links

- npm: https://www.npmjs.com/package/iselement
- Repository: https://github.com/fczbkk/iselement
- Homepage: https://github.com/fczbkk/iselement#readme
- Issues: https://github.com/fczbkk/iselement/issues
- npm.io page: https://npm.io/package/iselement

## Recent versions

- 1.1.4 (latest) — 2016-08-30
- 1.1.3 — 2016-08-29
- 1.1.2 — 2016-08-28
- 1.1.1 — 2016-08-28
- 1.1.0 — 2016-08-28
- 1.0.0 — 2016-03-07

## README

# isElement

Utility function that returns `true` if referenced object is DOM element.

Most similar functions just checks, if object is instance of `HTMLElement`. That does not always work, because it exotic elements like SVG polygons.

## How to use

    import isElement from 'iselement';

    isElement(my_object);  // --> true/false

# Documentation

## isElement

Returns `true` if provided input is Element.

**Parameters**

-   `input` **\[Any]** 

Returns **[boolean](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Boolean)**

---
_Source: https://npm.io/package/iselement · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
