This function displays a specified string with an optional default value.
value if it resolves to true, otherwise defaultValue
value
true
defaultValue
Value to be returned
Optional
Default value if value does not resolve to true
This function displays a specified string with an optional default value.
Returns
value
if it resolves totrue
, otherwisedefaultValue