@pathmaker-digital/pmd-utilities - v2.2.6
    Preparing search index...

    Function getKeys

    Converts an object to either a string or array of its keys.

    The object to get keys from.

    The desired output format.

    • Converts an object to either a string or array of its keys.

      Parameters

      • obj: object

        The object to get keys from.

      • output: "string"

        The desired output format.

      Returns string

    • Converts an object to either a string or array of its keys.

      Parameters

      • obj: object

        The object to get keys from.

      • output: "array"

        The desired output format.

      Returns string[]