isKind()

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

This function is valid in v2.13.0 to v2.13.1. This function has been downloaded 6 times.

Parameters

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

Returns

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

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.
  • kindsOf()
    Retrieves all of the associated type names for a value.
  • 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.