UNPKG

@typed/io

Version:

Runtime IO type system

6 lines 218 B
import * as G from '../guard'; import { Type } from './Type'; export function literal(value, name = typeof value) { return { ...Type.fromGuard(G.literal(value), name), value }; } //# sourceMappingURL=Literal.js.map