BooleanServices 3.0.0
BooleanServices
Services available for Booleans. See document examples.
boolean.check() : String
Returns “X” for boolean true.
Parameter
- value: The boolean value
Example
- true.check()
- X
- false.check()
boolean.yesNo() : String
Returns “Yes” for boolean true, “No” otherwise.
Parameter
- value: The boolean value
Example
- true.yesNo()
- Yes
- false.yesNo()
- No