mirror of
https://github.com/zhigang1992/DefinitelyTyped.git
synced 2026-04-01 09:01:45 +08:00
Instead of just returning boolean, the `isBoom` function can and should be a type-guard, which enables the obvious benefits.
Instead of just returning boolean, the `isBoom` function can and should be a type-guard, which enables the obvious benefits.