Skip to content

Latest commit

 

History

History
21 lines (12 loc) · 620 Bytes

types.basictype.md

File metadata and controls

21 lines (12 loc) · 620 Bytes

Home > @skunkteam/types > BasicType

BasicType type

Basic categories of types.

Signature:

type BasicType = 'string' | 'number' | 'bigint' | 'boolean' | 'function' | 'object' | 'array' | 'symbol' | 'undefined' | 'null';

Remarks

Mostly follows the result of the typeof operator, with two exceptions:

  • null values are not reported as object, but have their own category: null

  • Arrays have their own category: array.