Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Module

x/aether/src/util/Collection.ts>default

A Deno library to interface with the Discord API
Latest
class default
extends Map<string, V>
import { default } from "https://deno.land/x/aether@v0.0.3/src/util/Collection.ts";

Constructors

new
default(base: Function, limit?: number)

Properties

private
base: Function
private
limit: number

Methods

add(obj: V, ...params: any[]): V
every(fn: (arg: V) => boolean)
filter(fn: (arg: V) => boolean): V[]
find(fn: (arg: V) => boolean): V | undefined
map(func: (arg: V) => any): V[]
reduce(fn: (...args: any[]) => any, initialValue: number)
remove(obj: V): V
some(fn: (arg: V) => boolean): boolean