import { isArraySchema } from "./isArraySchema";
import { isNonArraySchema } from "./isNonArraySchema";
export function isMixedSchema(schema) {
    return (schema != null &&
        Array.isArray(schema) &&
        schema.every((type) => type.type === "null" || isNonArraySchema(type) || isArraySchema(type)));
}
