This project has moved and is read-only. For the latest updates, please go here.
1

Closed

create custom boolean toString overload

description

Based on this JS prototype:

Boolean.prototype.toCustomString = function (trueValue, falseValue) {
trueValue = typeof trueValue !== 'undefined' ? trueValue : "true";
falseValue = typeof falseValue !== 'undefined' ? falseValue : "false";

return returnValue = this == true ? trueValue : falseValue;
}
Closed Jan 5, 2016 at 3:59 PM by jkarr

comments

jkarr wrote Jan 5, 2016 at 3:51 PM

Added in version 1.0.0.5

wrote Jan 5, 2016 at 3:59 PM

Resolved with changeset 29461.

wrote Nov 30 at 9:23 AM