Const
The any schema validates that the input is of any type.
any
import { any } from "typerun/schema";import { is } from "typerun";const isAny = is(any)(true) && is(any)("hello") && is(any)([{ id: 4 }]);console.log(isAny); // true Copy
import { any } from "typerun/schema";import { is } from "typerun";const isAny = is(any)(true) && is(any)("hello") && is(any)([{ id: 4 }]);console.log(isAny); // true
The
any
schema validates that the input is of any type.Example