polygonjs-engine
Version:
node-based webgl 3D engine https://polygonjs.com
7 lines (6 loc) • 405 B
TypeScript
export declare class MapUtils {
static push_on_array_at_entry<K, V>(map: Map<K, V[]>, key: K, new_element: V): void;
static pop_from_array_at_entry<K, V>(map: Map<K, V[]>, key: K, element_to_remove: V): void;
static unshift_on_array_at_entry<K, V>(map: Map<K, V[]>, key: K, new_element: V): void;
static concat_on_array_at_entry<K, V>(map: Map<K, V[]>, key: K, new_elements: V[]): void;
}