A reactive notebook for Python — run reproducible experiments, query with SQL, execute as a script, deploy as an app, and version with git. Stored as pure Python. All in a modern, AI-native editor.
Python artificial-intelligencedagdata-sciencedata-visualizationdataflowdeveloper-toolsmachine-learningnotebookspipelinepythonreactivesqlweb-app
/* Copyright 2026 Marimo. All rights reserved. */
import z from "zod";
export function isZodArray(schema: z.ZodType): schema is z.ZodArray<z.ZodType> {
return schema instanceof z.ZodArray;
}
export function isZodPipe(schema: z.ZodType): schema is z.ZodPipe<z.ZodType> {
return schema instanceof z.ZodPipe;
}
export function isZodTuple(
schema: z.ZodType,
): schema is z.ZodTuple<z.ZodType[]> {
return schema instanceof z.ZodTuple;
}