Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

js string to boolean

// Do
var isTrueSet = (myValue == 'true');
// Or
var isTrueSet = (myValue === 'true');
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #js #string #boolean
ADD COMMENT
Topic
Name
3+3 =