UNPKG
type-enhancers
Version:
latest (0.8.0)
0.8.0
0.7.5
0.6.5
0.6.4
0.6.1
0.6.0
0.5.2
0.5.1
0.4.1
0.3.0
0.2.0
0.1.0
0.0.9
0.0.8
0.0.7
0.0.6
0.0.5
0.0.4
0.0.3
0.0.2
0.0.1
Enhanced type system
github.com/EzioMercer/type-enhancers
EzioMercer/type-enhancers
type-enhancers
/
utils
/
IsTruthy.d.ts
6 lines
(3 loc)
•
121 B
TypeScript
View Raw
1
2
3
4
5
6
import
type
{
IsFalsy
}
from
'./IsFalsy'
;
import
type
{
Not
}
from
'./Not'
;
export
type
IsTruthy
<T> =
Not
<
IsFalsy
<T>>;