boolean.yesNoFormat()

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

boolean.yesNoFormat( )

Returns: String

This function does not take any arguments.

Examples

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

See also