Sanity Library Reference Docs
    Preparing search index...

    Function at

    • Creates a NodePatch at a specific path.

      Type Parameters

      Parameters

      • path: string | Path

        The path where the operation should be applied.

      • operation: O

        The operation to be applied.

      Returns NodePatch<Path, O>

      The node patch.