Creates a function that invokes func with the arguments of the created
function. If func is a property name, the created function returns the
property value for a given element. If func is an array or object, the
created function returns true for elements that contain the equivalent
source properties, otherwise it returns false.
Creates a function that invokes
func
with the arguments of the created function. Iffunc
is a property name, the created function returns the property value for a given element. Iffunc
is an array or object, the created function returnstrue
for elements that contain the equivalent source properties, otherwise it returnsfalse
.Since
5.5.0
Example