Important: This documentation is about an older version. It's relevant only to the release noted, many of the features and functions have been updated or replaced. Please view the current version.
Check the current matched set of elements against a selector or element and return true if at least one of these elements matches the given arguments.
Mimics jquery.is
Parameter
Type
Description
selector
function
A function used as a test for each element in the set
selector
string
A string containing a selector expression to match elements against.