(...checks: readonly [SchemaAST.Check<T>, ...Array<SchemaAST.Check<T>>])
| 307 | * @since 4.0.0 |
| 308 | */ |
| 309 | export function fromChecks<T>(...checks: readonly [SchemaAST.Check<T>, ...Array<SchemaAST.Check<T>>]): Prism<T, T> { |
| 310 | return make([new CheckNode(checks)]) |
| 311 | } |
| 312 | |
| 313 | type Kind = "Iso" | "Lens" | "Prism" | "Optional" |
| 314 |