Lucee Function Reference

yesnoformat()

Yes, for a non-zero value; No, otherwise.

Example

yesnoformat(any value):string

Category

boolean,formatting

Arguments

The arguments for this function are set. You can not use other arguments except the following ones.
Name Type Required Description
value any  Yes a value that can be casted to a boolean