Runes
$map
import { $map } from 'funkcia/runes';
const map = $map([
['key1', 'value1'],
['key2', 'value2'],
]);
// Returns Option<string> instead of string | undefined
const value = map.get('key1');
// Some('value1')
const missing = map.get('key3');
// None$array
RunicArray
at
find
findIndex
indexOf
lastIndexOf
pop
shift
Last updated
Was this helpful?