function modifyimport { modify } from "https://dotland.deno.dev/x/rambda@9.4.1/rambda.js"; modify<K extends PropertyKey, T>(prop: K, fn: (value: T) => T): <U extends Record<K, T>>(object: U) => Umodify<U, K extends keyof U>(prop: K,fn: (value: U[K]) => U[K],object: U,): Umodify<K extends PropertyKey>(prop: K): { <T>(fn: (value: T) => T): <U extends Record<K, T>>(object: U) => U; <T, U extends Record<K, T>>(fn: (value: T) => T, object: U): U; }Type ParametersK extends PropertyKeyTParametersprop: Kfn: (value: T) => TReturns<U extends Record<K, T>>(object: U) => UType ParametersUK extends keyof UParametersprop: Kfn: (value: U[K]) => U[K]object: UReturnsUType ParametersK extends PropertyKeyParametersprop: KReturns{ <T>(fn: (value: T) => T): <U extends Record<K, T>>(object: U) => U; <T, U extends Record<K, T>>(fn: (value: T) => T, object: U): U; }