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

x/revoltio/src/lib.ts>Collection#hasAll

No-nonsense Revolt library for nodejs and deno.
Latest
method Collection.prototype.hasAll
Re-export
import { Collection } from "https://deno.land/x/revoltio@v1.0.0/src/lib.ts";

Checks if all of the elements exist in the collection.

Parameters

...keys: K[]
  • The keys of the elements to check for

Returns

boolean

true if all of the elements exist, false if at least one does not exist.