Narrows the given type parameter T to all its truthy sub-types.
T
The original type to narrow.
import type {Truthy} from '@augment-vir/assert';type MyTruthy = Truthy<0 | undefined | string>; // string Copy
import type {Truthy} from '@augment-vir/assert';type MyTruthy = Truthy<0 | undefined | string>; // string
@augment-vir/assert
Narrows the given type parameter
T
to all its truthy sub-types.