Resolves to the given type if the first type is true, otherwise resolves to undefined
true
undefined
The condition to check.
The type to resolve to if the condition may be true.
Resolves to the given type if the first type is
true, otherwise resolves toundefined