@types/kind-of

  • Version 6.0.3
  • Published
  • 6.29 kB
  • 1 dependency
  • MIT license

Install

npm i @types/kind-of
yarn add @types/kind-of
pnpm add @types/kind-of

Overview

TypeScript definitions for kind-of

Index

Functions

Functions

function kind_of

kind_of: {
(thing: undefined): 'undefined';
(thing: null): 'null';
(thing: boolean): 'boolean';
(thing: Buffer): 'buffer';
(thing: number): 'number';
(thing: string): 'string';
(thing: IArguments): 'arguments';
(thing: Date): 'date';
(thing: any[]): 'array';
(thing: RegExp): 'regexp';
(thing: Error): 'error';
(thing: Iterator<any, any, undefined>):
| 'generator'
| 'stringiterator'
| 'arrayiterator'
| 'mapiterator'
| 'setiterator';
(thing: (...args: any[]) => any): 'function' | 'generatorfunction';
(thing: symbol): 'symbol';
(thing: Promise<any>): 'promise';
(thing: Map<any, any>): 'map';
(thing: WeakMap<any, any>): 'weakmap';
(thing: Set<any>): 'set';
(thing: WeakSet<any>): 'weakset';
(thing: Int8Array): 'int8array';
(thing: Uint8Array): 'uint8array';
(thing: Uint8ClampedArray): 'uint8clampedarray';
(thing: Int16Array): 'int16array';
(thing: Uint16Array): 'uint16array';
(thing: Int32Array): 'int32array';
(thing: Uint32Array): 'uint32array';
(thing: Float32Array): 'float32array';
(thing: Float64Array): 'float64array';
(thing: any): string;
};

    Package Files (1)

    Dependencies (1)

    Dev Dependencies (0)

    No dev dependencies.

    Peer Dependencies (0)

    No peer dependencies.

    Badge

    To add a badge like this onejsDocs.io badgeto your package's README, use the codes available below.

    You may also use Shields.io to create a custom badge linking to https://www.jsdocs.io/package/@types/kind-of.

    • Markdown
      [![jsDocs.io](https://img.shields.io/badge/jsDocs.io-reference-blue)](https://www.jsdocs.io/package/@types/kind-of)
    • HTML
      <a href="https://www.jsdocs.io/package/@types/kind-of"><img src="https://img.shields.io/badge/jsDocs.io-reference-blue" alt="jsDocs.io"></a>