UNPKG

@typed/io

Version:

Runtime IO type system

6 lines 242 B
import * as G from '../guard'; import { Type } from './Type'; import { union } from './Union'; export const Null = Type.fromGuard(G.Null, `Null`, `null`); export const nullable = (type) => union([Null, type]); //# sourceMappingURL=Null.js.map