8 lines
136 B
XML
8 lines
136 B
XML
function indexOf(s, value) {
|
|
if (s.indexOf(value) < 0) {
|
|
return false
|
|
} else {
|
|
return true
|
|
}
|
|
}
|
|
module.exports.indexOf = indexOf |