• Provides a method to determine if the passed in Svelte component has a setter accessor.

    Parameters

    • object: object

      An object.

    • accessor: string

      Accessor to test.

    Returns boolean

    Whether the component has the setter for accessor.