std/collections/includes_value.ts

Deno standard library
Go to Latest
import * as mod from "https://deno.land/std@0.139.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.