isJsonList function
- dynamic content
Returns true if the given content
is a JSON list.
isJsonList([]); // true
isJsonList({}); // false
isJsonList(''); // false
Implementation
bool isJsonList(dynamic content) {
return content is List<dynamic>;
}