MCPcopy Create free account
hub / github.com/denoland/std / hasReverse

Method hasReverse

data_structures/unstable_bidirectional_map.ts:203–205  ·  view source on GitHub ↗

* Checks if an element with the specified value exists. * * @param value The value to search for. * * @returns `true` if an element with the specified value exists, otherwise * `false`. * * @example Usage * ```ts * import { BidirectionalMap } from "@std/data-structures/uns

(value: V)

Source from the content-addressed store, hash-verified

201 * ```
202 */
203 hasReverse(value: V): boolean {
204 return this.#reverseMap.has(value);
205 }
206
207 /**
208 * A String value that is used in the creation of the default string description of an object.

Calls 1

hasMethod · 0.65

Tested by

no test coverage detected