README
is-descendant
Checks if an HTML element is descendant of another
Install
npm install is-descendant
Usage
var isDescendant = require('is-descendant');
isDescendant(parent, children); // bool
License
MIT
Checks if an element is descendant of another
<script type="module">
import isDescendant from 'https://cdn.skypack.dev/is-descendant';
</script>
Checks if an HTML element is descendant of another
npm install is-descendant
var isDescendant = require('is-descendant');
isDescendant(parent, children); // bool
MIT