Creates a setIfMissing operation with the provided value.
setIfMissing
The value to set if missing.
A setIfMissing operation. https://www.sanity.io/docs/http-patches#A80781bT
const setFooIfMissing = setIfMissing('foo')const setEmptyArrayIfMissing = setIfMissing([]) Copy
const setFooIfMissing = setIfMissing('foo')const setEmptyArrayIfMissing = setIfMissing([])
Creates a
setIfMissing
operation with the provided value.