UNPKG

lunify.js

Version:

A basic api wrapper for the spotify api covering the oauth routes.

9 lines (8 loc) 278 B
export declare class CacheManager<K, V> extends Map<K, V> { constructor(); /** * Finds a value in the cache that satisfies the predicate * @param fn The predicate function */ find(fn: (value: V, key: K, collection: this) => boolean): V | undefined; }