API Reference › Dict › Dict.new
method

Dict.new

Dict.new() -> Dict

Creates an empty Dict mapping string keys to int values. Fill it with Dict.set and read it back with Dict.get.

Example

program Demo {
  handler Step phase Update {
    let bank = Dict.new()
  }
}
← All symbols