function modifyimport { modify } from "https://deno.land/x/rambda@9.2.1/mod.ts"; modify<T extends object, K extends keyof T, P>(prop: K,fn: (a: T[K]) => P,obj: T,): Omit<T, K> & Record<K, P>modify<K extends string, A, P>(prop: K, fn: (a: A) => P): <T extends Record<K, A>>(target: T) => Omit<T, K> & Record<K, P>Type ParametersT extends objectK extends keyof TPParametersprop: Kfn: (a: T[K]) => Pobj: TReturnsOmit<T, K> & Record<K, P>Type ParametersK extends stringAPParametersprop: Kfn: (a: A) => PReturns<T extends Record<K, A>>(target: T) => Omit<T, K> & Record<K, P>