mirror of
https://github.com/SukkaW/Surge.git
synced 2025-12-13 01:30:37 +08:00
2 lines
86 B
TypeScript
2 lines
86 B
TypeScript
export const isTruthy = <T>(i: T | 0 | '' | false | null | undefined): i is T => !!i;
|