sumNum<T extends num> function
Sum elements.
Implementation
sumNum<T extends num>(Iterable<T> l) {
num result = 0;
for (num n in l) {
result += n;
}
return result;
}
Sum elements.
sumNum<T extends num>(Iterable<T> l) {
num result = 0;
for (num n in l) {
result += n;
}
return result;
}