• Creates a new object from the specified object, where all the keys are in lowercase

    Example

    const myObj = { Name: "Adam", sUrnAME: "Smith" };
    const myObjLower = lowerCaseKeys(myObj); // {name: "Adam", surname: "Smith"}

    Parameters

    • obj: Record<string, unknown>

    Returns Record<string, unknown>

Generated using TypeDoc