Skip to content

checkElementHasParent()

Checks whether the element is nested inside the provided parent element.

Example:

ts
checkElementHasParent(childElement, modalElement);

Released under the MIT License.