Checks to see if a value is of a specific kind.

This function is valid in v2.13.0 to v2.24.3. This function has been downloaded 63 times.


{*} value
Value to determine if it matches any of the type names given.
{…string} kindName
Possible kind names to match value against.


A boolean indicating if the kinds of value matched against any of the kindName arguments passed.

Required Functions

This function directly requires the following functions which are included automatically:

  • indexOf()
    Gets the index of a specified target value in a string, array or an object. Unlike Array.prototype.indexOf(), this function works for finding NaN and differentiates between -0 and 0.
  • kindsOf()
    Retrieves all of the associated type names for a value.
  • slice()
    Slice does not modify the original array, but instead returns a shallow copy of elements from the original array.

Requiring Function

This function is directly required by the following function: