Skip to main content
Module

x/rambda/rambda.js>hasPath

Faster and smaller alternative to Ramda
Latest
function hasPath
import { hasPath } from "https://deno.land/x/rambda@v9.2.0/rambda.js";

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