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. |
selector | Selection | A selection. |
Returns
Type | Description |
---|---|
Selection | The filter selection. |