(n: string | number)
| 294 | const onPositivePredicateError = (n: number) => `${n} is not positive` |
| 295 | const isNumberRefinement = (n: string | number): n is number => typeof n === "number" |
| 296 | const onNumberRefinementError = (n: string | number) => `${n} is not a number` |
| 297 | |
| 298 | assertSuccess( |
| 299 | pipe(1, Result.liftPredicate(isPositivePredicate, onPositivePredicateError)), |
nothing calls this directly
no outgoing calls
no test coverage detected