Untitled
Anonymous
Swift
10/31/2020 9:01 AM
285 B
14
Indexable
Never
for command in COMMAND_NEXT {
if response.lowercased().contains(command) {
//NEXT command is recognised
return
}
}
for command in COMMAND_PREVIOUS {
if response.lowercased().contains(command) {
//PREVIOUS command is recognised
return
}
}Editor is loading...