Const
Creates an insert operation that inserts the provided items after the provided index or reference item.
insert
An insert operation after the provided index or reference item. https://www.sanity.io/docs/http-patches#0SQmPlb6
const insertFooAfterIndex3 = insertAfter('foo', 3)const insertObjectAfterKey = insertAfter({name: 'foo'}, {_key: 'xyz'}] Copy
const insertFooAfterIndex3 = insertAfter('foo', 3)const insertObjectAfterKey = insertAfter({name: 'foo'}, {_key: 'xyz'}]
Creates an
insert
operation that inserts the provided items after the provided index or reference item.