neverthrow
neverthrow copied to clipboard
refactor: set `isErr()` return directly
Since in these cases, isOk() returns a static bool, there is no need to call it.