()
| 731 | // what errors "none" says: arktype's own text, so it's written after a path |
| 732 | // as a message arktype writes is |
| 733 | const invalidInput = (): CustomErrorInput => ({ |
| 734 | expected: "valid", |
| 735 | message: "is invalid" |
| 736 | }) |
| 737 | |
| 738 | const isInvalidInput = (input: ArkErrorContextInput | undefined): boolean => |
| 739 | input?.message === "is invalid" && input.expected === "valid" |
no outgoing calls
no test coverage detected