Answers for "dart check if string is contained in list of strings"

1

dart check if string is contained in list of strings

String value = 'whatever';

bool res = list.any((listElement) => listElement.contains(value);
Posted by: Guest on March-30-2021

Code answers related to "dart check if string is contained in list of strings"

Code answers related to "TypeScript"

Browse Popular Code Answers by Language