Library API
    Preparing search index...

    Function setAccessors

    • Retrieves a distinct array of 'setter' names from an object and its prototype chain.

      Parameters

      • obj: any = {}

        The object to inspect

      Returns string[]

      An array of property keys that have setter functions

      const setters = setAccessors(myInstance);