.is(selector)
Available on: InDomChecks if the underlying element matches a CSS selectorParameters:
selector {string} - CSS selector to match against.
Returns: {boolean} - True if matches , false if doesn'tThrows: Error - If the underlying element has been removed
Examples:const example = $1('.example>div');
console.log(example.is('div'));
//true
console.log(example.is('.test'));
//falseNext: getParent »