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

x/denocordts/deps.ts>Collection#delete

An Object Oriented Discord API wrapper for Deno.
Latest
method Collection.prototype.delete
import { Collection } from "https://deno.land/x/denocordts@1.2.0/deps.ts";

Identical to Map.delete(). Deletes an element from the collection.

Parameters

key: K
  • The key to delete from the collection

Returns

boolean

true if the element was removed, false if the element does not exist.