# boolean.yesNoFormat()

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

```
boolean.yesNoFormat( )
```

**Returns:** string

*This function does not take any arguments.*

# Examples

```cfml
	a = true;
	b = false;
	writeDump(a.yesNoFormat());
	writeDump(b.yesNoFormat());
	writeDump(true.yesNoFormat());
	writeDump(false.yesNoFormat());
```

# Categories

[Booleans](../../../categories/boolean.md), [Formatting](../../../categories/formatting.md)

# See Also

[YesNoFormat()](../../functions/yesnoformat.md), [Boolean](../boolean.md)