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

    Parameters

    • object: object

      An object.

    • accessor: string

      Accessor to test.

    Returns boolean

    Whether the component has the getter and setter for accessor.