import { Deep } from "https://deno.land/x/rimbu@1.2.0/deep/index.ts";
const { matchAt } = Deep;
Returns true if the given value
object matches the given matcher
at the given path
, false otherwise.
Examples
Example 1
Example 1
const input = { a: 1, b: { c: true, d: 'a' } }
Deep.matchAt(input, 'b', { c: true })
// => true