(e: unknown)
| 27 | * Type guard for checking if an unknown value is a NotFound. |
| 28 | */ |
| 29 | export function isNotFound(e: unknown): e is NotFound { |
| 30 | return e === NOT_FOUND || (e as NotFoundError)?.name === 'ɵNotFound'; |
| 31 | } |
| 32 | |
| 33 | /** |
| 34 | * Type union of NotFound and NotFoundError. |
no outgoing calls
no test coverage detected
searching dependent graphs…