Function get [src]

Return the map's copy of the value associated with a key. The returned string is invalidated if this key is removed from the map. On Windows key must be a valid WTF-8 string.

Prototype

pub fn get(self: EnvMap, key: []const u8) ?[]const u8

Parameters

self: EnvMapkey: []const u8

Source

pub fn get(self: EnvMap, key: []const u8) ?[]const u8 { assert(unicode.wtf8ValidateSlice(key)); return self.hash_map.get(key); }