Sanity Library Reference Docs
    Preparing search index...

    Variable incConst

    inc: <const N extends number = 1>(amount?: N) => IncOp<N>

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

    Type declaration

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