Sanity Library Reference Docs
    Preparing search index...

    Type Alias TruncateOp

    Represents a truncate-operation that can be applied to an array

    type TruncateOp = {
        endIndex?: number;
        startIndex: number;
        type: "truncate";
    }
    Index

    Properties

    endIndex?: number
    startIndex: number
    type: "truncate"