Function: contains()
contains(
container
,contained
):boolean
Checks to see if the contained
DOM element is a descendant of the
container
DOM element.
Parameters
container
Potential parent node.
contained
Potential child node.
Returns
boolean
Indicates if the nodes contain one another.
Alias
Cheerio.contains
See
https://api.jquery.com/jQuery.contains/