{"version":3,"file":"nullable.mjs","sources":["../../src/predefined/nullable.mts"],"sourcesContent":["import { union } from '../compose/index.mjs';\nimport { undefinedType } from '../primitives/index.mjs';\nimport { type Type } from '../type.mjs';\n\nexport const nullable = <T,>(type: Type<T>): Type<T | undefined> =>\n  union([type, undefinedType]);\n"],"names":[],"mappings":";;;;;;AAIO,MAAM,WAAW,CAAK,IAAA,KAC3B,MAAM,CAAC,IAAA,EAAM,aAAa,CAAC;;;;"}