import { paths } from "https://deno.land/x/rambda@v9.1.0/mod.ts";
It loops over members of pathsToSearch
as singlePath
and returns the array produced by R.path(singlePath, Record<string, unknown>)
.
Because it calls R.path
, then singlePath
can be either string or a list.
Parameters
obj: Input