isKind()

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

This function is valid in v2.8.0 to v2.12.3. This function has been downloaded 19 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.