CmpStr - v3.2.1
    Preparing search index...

    Function has

    • Check if a path exists in an object.

      Type Parameters

      • T extends Record<string, any>

        The type of the object to get the value from

      Parameters

      • t: T

        The object to check

      • path: string

        The path string, e.g. a.b.c

      Returns boolean

      • True if the path exists, otherwise false