Untitled
unknown
swift
4 years ago
285 B
3
Indexable
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...