Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/rambda/files/index.d.ts>prop

Faster and smaller alternative to Ramda
Go to Latest
function prop
import { prop } from "https://deno.land/x/rambda@v8.6.0/files/index.d.ts";

Type Parameters

_
P extends keyof never
T

Parameters

p: P
value: T

Returns

Prop<T, P>

Parameters

p: keyof never
value: unknown

Type Parameters

_
P extends keyof never

Returns

<T>(value: T) => Prop<T, P>

Parameters

p: keyof never

Returns

(value: unknown) => V