Dict::get
Look up key in this dict.
key
Exampleslet scores = Dict["Mario" => 10, "Luigi" => 8] scores.get("Mario") //-> Some(10) scores.get("Bowser") //-> None
let scores = Dict["Mario" => 10, "Luigi" => 8] scores.get("Mario") //-> Some(10) scores.get("Bowser") //-> None
Source Codepublic method get<T>(this: Dict<T>, key: String): Option<T> { __BUILTIN_IMPLEMENTATION }
public method get<T>(this: Dict<T>, key: String): Option<T> { __BUILTIN_IMPLEMENTATION }