@vsokolov/utils - v0.32.0
    Preparing search index...

    Function hasProperty

    • Check if an object has a specific property

      Parameters

      • obj: unknown

        The object to check

      • key: string

        The property key

      Returns boolean

      True if the object has the property