Language Tour Help

maps

add(m: map[any : any], key: any, value: any)

Adds the supplied key and value to m

remove(m: map[any : any], key: any)

Removes the supplied key from m

contains(m: map[any : any], key: any) -> bool

Checks if the supplied key is contained in m

count(m: map[any : any]) -> int

Returns a count of how many items are contained in m

Last modified: 03 April 2024