Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/nescalante/is-descendant
https://github.com/nescalante/is-descendant
Last synced: 20 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/nescalante/is-descendant
- Owner: nescalante
- License: mit
- Created: 2016-03-28T01:44:06.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2017-03-31T20:10:48.000Z (over 7 years ago)
- Last Synced: 2024-11-28T03:32:41.427Z (25 days ago)
- Language: JavaScript
- Size: 1.95 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
- License: License
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