UNPKG

payload-is

Version:

A comprehensive TypeScript/JavaScript type checking library providing functions to check data types, collections, primitives, and built-in objects

4 lines (3 loc) 230 B
export declare function isWeakKey(payload: unknown): payload is WeakKey; export declare function isPropertyKey(payload: unknown): payload is PropertyKey; export declare function enumerableKeys(value: object): (string | symbol)[];