method
Dict.size
Dict.size(d) -> int
Returns the number of keys currently in the map.
Example
program Demo {
handler Step phase Update {
let kinds = Dict.size(bank)
}
}Dict.size(d) -> int
Returns the number of keys currently in the map.
program Demo {
handler Step phase Update {
let kinds = Dict.size(bank)
}
}