isKindFor()

Creates a partial isKind() function.

This function is valid in v2.8.0 to v2.12.0. This function has been downloaded 9 times.

Parameters

{&hellipstring} 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 requires the following functions which are included automatically:

  • slice()
    Slice does not modify the original array, but instead returns a shallow copy of elements from the original array.
  • isKind()
    Checks to see if a value is of a specific kind.