Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

is value in list javascript

function inListBoolean(list, item){
    var boolean = false
    list.forEach(value => {
        if(value == item){
            boolean = true
        }
    })
    return boolean;
}
 
PREVIOUS NEXT
Tagged: #list #javascript
ADD COMMENT
Topic
Name
6+4 =