how to convet sting to bool js code example Example: javascript true string to boolean var isHidden='true'; var isHiddenBool = (isHidden == 'true');