Sanity Library Reference Docs
    Preparing search index...

    Variable incConst

    inc: () => const

    Creates an inc (increment) operation with the provided amount.

    Type declaration

    const incBy1 = inc()
    const incBy5 = inc(5)