• Finds the last key from a given value in an object.

    Type Parameters

    • T = unknown

    Parameters

    • object: {
          [key: string]: unknown;
      }

      The object to search for the key.

      • [key: string]: unknown
    • value: T

      The value to find the corresponding key for.

    Returns undefined | string

    • The last key in the object that corresponds to the given value, or undefined if the value is not found.

Generated using TypeDoc