(name: string, validator: Validator)
| 69 | */ |
| 70 | |
| 71 | export function define<T>(name: string, validator: Validator): Struct<T, null> { |
| 72 | return new Struct({ type: name, schema: null, validator }) |
| 73 | } |
| 74 | |
| 75 | /** |
| 76 | * Create a new struct based on an existing struct, but the value is allowed to |
no outgoing calls
no test coverage detected