@aracna/core - v1.5.0
    Preparing search index...

    Function getObjectProperty

    • Returns a property from an object. The key supports bracket and dot notation.

      Aracna Reference

      Type Parameters

      • T extends object
      • U

      Parameters

      • object: T
      • key: keyof T

      Returns U | undefined

    • Returns a property from an object. The key supports bracket and dot notation.

      Aracna Reference

      Type Parameters

      • T extends object
      • U

      Parameters

      • object: T
      • key: keyof T
      • fallback: U

      Returns U

    • Returns a property from an object. The key supports bracket and dot notation.

      Aracna Reference

      Type Parameters

      • T extends object
      • U

      Parameters

      • object: T
      • key: string

      Returns U | undefined

    • Returns a property from an object. The key supports bracket and dot notation.

      Aracna Reference

      Type Parameters

      • T extends object
      • U

      Parameters

      • object: T
      • key: string
      • fallback: U

      Returns U