Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

angular convert boolean to yes no

convertBooleanToYesOrNo(boolean: Boolean) {
    return boolean ? 'yes' : 'no';
}
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #angular #convert #boolean
ADD COMMENT
Topic
Name
9+3 =