Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/nescalante/is-descendant


https://github.com/nescalante/is-descendant

Last synced: 20 days ago
JSON representation

Awesome Lists containing this project

README

        

# is-descendant

> Checks if an HTML element is descendant of another

## Install

```bash
npm install is-descendant
```

## Usage

```js
var isDescendant = require('is-descendant');

isDescendant(parent, children); // bool
```

## License

MIT