function modifyimport { modify } from "https://dotland.deno.dev/x/rambda@v9.2.0/immutable.d.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>