Examples · learn/08-collections · 137 of 339
empty
tin run examples/learn/08-collections/empty.tinfn main() {
var names: string[] = [] // an empty array needs its type spelled out
print(names.isEmpty())
names.push("ada")
print(names)
}