repo.or.cz
/
ProtonMail-WebClient.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Merge branch 'DRVWEB-4389-small-fixes-public-page' into 'main'
[ProtonMail-WebClient.git]
/
packages
/
utils
/
isTruthy.ts
blob
64345a729e68d6f90892dbbc3afc2c52b79d0957
1
export default function isTruthy<T>(t: T | undefined | null | void | false | number): t is T {
2
return !!t;
3
}