Type alias TypeOfMap

TypeOfMap: {
    bigint: bigint;
    boolean: boolean;
    function: GenericFunction;
    null: null;
    number: number;
    object: NonPrimitive;
    string: string;
    symbol: symbol;
    undefined: undefined;
}

typeof type map.

Example

TypeOfMap["string"]; // `string`
TypeOfMap["boolean"]; // `boolean`
TypeOfMap["function"]; // `GenericFunction`

Type declaration

  • Readonly bigint: bigint
  • Readonly boolean: boolean
  • Readonly function: GenericFunction
  • Readonly null: null
  • Readonly number: number
  • Readonly object: NonPrimitive
  • Readonly string: string
  • Readonly symbol: symbol
  • Readonly undefined: undefined