UNPKG

@rbxts/rotype

Version:

Advanced runtime type checking library

14 lines (13 loc) 634 B
import { Schema } from "../schema"; export * from "./array"; export * from "./object"; export * from "./roblox"; export declare const String: () => Schema<"string">; export declare const Number: () => Schema<"number">; export declare const Boolean: () => Schema<"boolean">; export declare const Thread: () => Schema<"thread">; export declare const Vector: () => Schema<"vector">; export declare const Buffer: () => Schema<"buffer">; export declare function Function(): Schema<Callback>; export declare function Undefined(): Schema<undefined>; export declare function Literal<T extends string | number | boolean>(value: T): Schema<T>;