(version?: 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8)
| 6574 | ): instanceOf<InstanceType<C>, Iso> { |
| 6575 | return declare((u): u is InstanceType<C> => u instanceof constructor, annotations) |
| 6576 | } |
| 6577 | |
| 6578 | /** |
| 6579 | * Constructs an `SchemaAST.Link` that describes how a value of type `T` encodes to and decodes from a `To` schema. |
| 6580 | * Used when building low-level AST transformations that bridge two schema types. |
| 6581 | * |
| 6582 | * @category transforming |
| 6583 | * @since 4.0.0 |
| 6584 | */ |
| 6585 | export function link<T>() { |
| 6586 | return <To extends Constraint>( |
no outgoing calls
no test coverage detected
searching dependent graphs…