Skip to main content
Module

std/collections/includes_value.ts

The Deno Standard Library
Latest
import * as mod from "https://deno.land/std@0.223.0/collections/includes_value.ts";

Functions

If the given value is part of the given object it returns true, otherwise it returns false. Doesn't work with non-primitive values: includesValue({x: {}}, {}) returns false.