Sanity Library Reference Docs
    Preparing search index...

    Variable TConst

    T: any

    Creates a set operation with the provided value.

    The value to set.

    const setFoo = set('foo')
    const setEmptyArray = set([])