• Get keys of the object

    Example

    keys({ one: 1, two: 2, three: 3 }); // ["one", "two", "three"]
    

    Type Parameters

    • T extends Record<string, unknown>

    Parameters

    • obj: T

    Returns (keyof T)[]

Generated using TypeDoc