Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

from 0 or 1 to boolean javascript

parse: function (response) {
  response.isChecked = !!+response.isChecked;
  return response;
}
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #boolean #javascript
ADD COMMENT
Topic
Name
5+1 =