kindsOf()

Retrieves all of the associated type names for a value.

This function is valid in v2.8.0 to v2.24.3. This function has been downloaded 94 times.

Parameter

{*} value
Value for which to get all of the associated type names.

Returns

{Array<string>}
An array of all of the types that value is.

Required Function

This function directly requires the following function which is included automatically:

  • typeOf()
    Either gets the type of a value or adds a constructor registering its custom type name.

Requiring Functions

This function is directly required by the following functions:

  • isKind()
    Checks to see if a value is of a specific kind.
  • typeOf()
    Either gets the type of a value or adds a constructor registering its custom type name.