Skip to main content
Module

x/rambda/immutable.d.ts>hasPath

Faster and smaller alternative to Ramda
Go to Latest
function hasPath
import { hasPath } from "https://deno.land/x/rambda@v7.0.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