Module

x/rambda/mod.ts>hasPath

Faster and smaller alternative to Ramda
Go to Latest
function hasPath
import { hasPath } from "https://dotland.deno.dev/x/rambda@v9.2.0/mod.ts";

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

Parameters

path: string | string[]
input: object

Returns

boolean

Parameters

path: string | string[]

Returns

(input: object) => boolean