xdashReadme | API


xdash / keys

Function: keys()

keys<T>(obj): keyof T[]

Gets the keys of an object.

Type parameters

T extends object

Parameters

obj: T

object to check

Returns

keyof T[]

true if the value is a number, false otherwise

Source

typed.ts:83