get boolean from string javascript code example
Example 1: get string value of boolean javascript
// boolean.toString()
let stringTrue = true.toString();
let stringFalse = false.toString();
Example 2: javascript true string to boolean
var isHidden='true';
var isHiddenBool = (isHidden == 'true');