Skip to main content
The Deno 2 Release Candidate is here
Learn more
Module

x/collection/src/Collection.ts>default#clear

Utility data structure for Deno (Discord.js Collection).
Latest
method default.prototype.clear
import { default } from "https://deno.land/x/collection@v1.0.1/src/Collection.ts";

Identical to Map.clear(). Removes all elements from the collection.