Merge branch 'DRVWEB-4389-small-fixes-public-page' into 'main'
[ProtonMail-WebClient.git] / packages / utils / isTruthy.ts
blob64345a729e68d6f90892dbbc3afc2c52b79d0957
1 export default function isTruthy<T>(t: T | undefined | null | void | false | number): t is T {
2     return !!t;