deno.land / std@0.139.0 / collections / includes_value.ts

import * as mod from "https://deno.land/std@0.139.0/collections/includes_value.ts";

Functions

includesValue

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.

std
Deno standard library
GitHub Stars
2178
Go to latest

Version Info

Tagged at
a month ago