TypeError: Boolean.parseBoolean is not a function code example
Example: javascript true string to boolean
var isHidden='true';
var isHiddenBool = (isHidden == 'true');
var isHidden='true';
var isHiddenBool = (isHidden == 'true');