type-plus
type-plus copied to clipboard
testType.has*
for testing:
type R = number | undefined
testType.hasUndefined<R>(true)
for testing:
type R = number | undefined
testType.hasUndefined<R>(true)