(x: ParseReturnType<T>)
| 172 | export const isAborted = (x: ParseReturnType<any>): x is INVALID => (x as any).status === "aborted"; |
| 173 | export const isDirty = <T>(x: ParseReturnType<T>): x is OK<T> | DIRTY<T> => (x as any).status === "dirty"; |
| 174 | export const isValid = <T>(x: ParseReturnType<T>): x is OK<T> => (x as any).status === "valid"; |
| 175 | export const isAsync = <T>(x: ParseReturnType<T>): x is AsyncParseReturnType<T> => |
| 176 | typeof Promise !== "undefined" && x instanceof Promise; |
no outgoing calls
no test coverage detected