Module

x/rambda/immutable.d.ts>hasPath

Faster and smaller alternative to Ramda
Latest
function hasPath
import { hasPath } from "https://dotland.deno.dev/x/rambda@9.4.1/immutable.d.ts";

It will return true, if input object has truthy path(calculated with R.path).

Parameters

path: string | readonly string[]
input: object

Returns

boolean

Parameters

path: string | readonly string[]

Returns

(input: object) => boolean