kaven-basic - v6.0.0
    Preparing search index...

    Function GetValueByKey

    • Retrieves the value associated with the specified key from the given object.

      Type Parameters

      • TValue = unknown
      • TKey = string | number

      Parameters

      • obj: unknown

        The object from which to retrieve the value.

      • key: TKey

        The key whose associated value is to be returned.

      Returns undefined | TValue

      The value associated with the specified key, typed as TValue.

      4.3.0

      2025-07-04