/** * Returns a `Some` containing the value associated with the specified key from * the map, or `None` if the key/value pair is not present within the map. * * @tsplus static ImmutableMap.Aspects get * @tsplus pipeable ImmutableMap get */ export function get(key: K) { return (self: ImmutableMap): Maybe => self.internalMap.has(key) ? Maybe.some(self.internalMap.get(key)!) : Maybe.none }