isKindFor()
Creates a partial isKind() function.
This function is valid in
v2.8.0 to v2.24.3.
This function has been downloaded 61 times.
Parameters
{…string}
kindName
One or more kind names to check against values.
{boolean=}
opt_negate
Optional, Default:false
If specified the returned function's return value will always be negated.
Returns
{Function}
A function that can be used to see if any value passed to it is one of the kind names passed in as kindName
. The return value will indicate if one of the kind names matches the kind of the value passed to it. If opt_negate
is true
the return value of this function will be the opposite.
Required Functions
This function directly requires the following functions which are included automatically:
-
isKind()
Checks to see if a value is of a specific kind.
-
slice()
Slice does not modify the original array, but instead returns a shallow copy of elements from the original array.