(u: unknown)
| 1209 | * @since 4.0.0 |
| 1210 | */ |
| 1211 | export function isSchemaError(u: unknown): u is SchemaError { |
| 1212 | return Predicate.hasProperty(u, SchemaErrorTypeId) && u[SchemaErrorTypeId] === SchemaErrorTypeId |
| 1213 | } |
| 1214 | |
| 1215 | function makeStandardResult<A>(exit: Exit_.Exit<StandardSchemaV1.Result<A>>): StandardSchemaV1.Result<A> { |
| 1216 | return Exit_.isSuccess(exit) ? exit.value : { |
no outgoing calls
no test coverage detected