YesNoFormat
Return Yes/No based on whether the input is true/false
Method Signature
Arguments
Argument
Type
Required
Description
Default
value
boolean
true
The value to check for true/false and return Yes/No
Examples
Example of Yes
Pass in a true value outputs Yes
Result: Yes
Example of No
Pass in a false value outputs No
Result: No
Example of empty string
Pass in an empty string outputs No
Result: No
Additional Examples
Related
Last updated
Was this helpful?