get text from boolean js code example
Example: js string to boolean
// Do
var isTrueSet = (myValue == 'true');
// Or
var isTrueSet = (myValue === 'true');
// Do
var isTrueSet = (myValue == 'true');
// Or
var isTrueSet = (myValue === 'true');