isArray method
Returns true if this node represents a JSON array ([...]).
JSON arrays are represented as Dart List<Object> when converted via toObject. This is useful for iterating elements or validating the type before performing array operations.
Example
if (node.isArray()) {
final list = node.toObject() as List<Object>;
print(list.length);
}
Implementation
@override
bool isArray() => false;