- Preparing search index...
- The search index is not available
Documentation
- ifThenOr<T>(cond: boolean, then: T): T | undefined
-
Returns T | undefined
- ifThenOr<T, V>(cond: boolean, then: T, or: V): T | V
-
Parameters
-
cond: boolean
-
then: T
-
or: V
Returns T | V