function pathimport { path } from "https://dotland.deno.dev/x/rambda@9.4.1/files/index.d.ts"; path<S, K0 extends keyof S = keyof S>(path: [K0], obj: S): S[K0]path<S, K0 extends keyof S = keyof S, K1 extends keyof S[K0] = keyof S[K0]>(path: [K0, K1], obj: S): S[K0][K1]path<S, K0 extends keyof S = keyof S, K1 extends keyof S[K0] = keyof S[K0], K2 extends keyof S[K0][K1] = keyof S[K0][K1]>(path: [K0, K1, K2], obj: S): S[K0][K1][K2]path<S, K0 extends keyof S = keyof S, K1 extends keyof S[K0] = keyof S[K0], K2 extends keyof S[K0][K1] = keyof S[K0][K1], K3 extends keyof S[K0][K1][K2] = keyof S[K0][K1][K2]>(path: [K0, K1, K2, K3, ], obj: S): S[K0][K1][K2][K3]path<S, K0 extends keyof S = keyof S, K1 extends keyof S[K0] = keyof S[K0], K2 extends keyof S[K0][K1] = keyof S[K0][K1], K3 extends keyof S[K0][K1][K2] = keyof S[K0][K1][K2], K4 extends keyof S[K0][K1][K2][K3] = keyof S[K0][K1][K2][K3]>(path: [K0, K1, K2, K3, K4, ], obj: S): S[K0][K1][K2][K3][K4]path<S, K0 extends keyof S = keyof S, K1 extends keyof S[K0] = keyof S[K0], K2 extends keyof S[K0][K1] = keyof S[K0][K1], K3 extends keyof S[K0][K1][K2] = keyof S[K0][K1][K2], K4 extends keyof S[K0][K1][K2][K3] = keyof S[K0][K1][K2][K3], K5 extends keyof S[K0][K1][K2][K3][K4] = keyof S[K0][K1][K2][K3][K4]>(path: [K0, K1, K2, K3, K4, K5, ], obj: S): S[K0][K1][K2][K3][K4][K5]path<T>(pathToSearch: string, obj: any): T | undefinedpath<T>(pathToSearch: string): (obj: any) => T | undefinedpath<T>(pathToSearch: RamdaPath): (obj: any) => T | undefinedpath<T>(pathToSearch: RamdaPath, obj: any): T | undefinedType ParametersSoptionalK0 extends keyof S = keyof SParameterspath: [K0]obj: SReturnsS[K0]Type ParametersSoptionalK0 extends keyof S = keyof SoptionalK1 extends keyof S[K0] = keyof S[K0]Parameterspath: [K0, K1]obj: SReturnsS[K0][K1]Type ParametersSoptionalK0 extends keyof S = keyof SoptionalK1 extends keyof S[K0] = keyof S[K0]optionalK2 extends keyof S[K0][K1] = keyof S[K0][K1]Parameterspath: [K0, K1, K2]obj: SReturnsS[K0][K1][K2]Type ParametersSoptionalK0 extends keyof S = keyof SoptionalK1 extends keyof S[K0] = keyof S[K0]optionalK2 extends keyof S[K0][K1] = keyof S[K0][K1]optionalK3 extends keyof S[K0][K1][K2] = keyof S[K0][K1][K2]Parameterspath: [K0, K1, K2, K3, ]obj: SReturnsS[K0][K1][K2][K3]Type ParametersSoptionalK0 extends keyof S = keyof SoptionalK1 extends keyof S[K0] = keyof S[K0]optionalK2 extends keyof S[K0][K1] = keyof S[K0][K1]optionalK3 extends keyof S[K0][K1][K2] = keyof S[K0][K1][K2]optionalK4 extends keyof S[K0][K1][K2][K3] = keyof S[K0][K1][K2][K3]Parameterspath: [K0, K1, K2, K3, K4, ]obj: SReturnsS[K0][K1][K2][K3][K4]Type ParametersSoptionalK0 extends keyof S = keyof SoptionalK1 extends keyof S[K0] = keyof S[K0]optionalK2 extends keyof S[K0][K1] = keyof S[K0][K1]optionalK3 extends keyof S[K0][K1][K2] = keyof S[K0][K1][K2]optionalK4 extends keyof S[K0][K1][K2][K3] = keyof S[K0][K1][K2][K3]optionalK5 extends keyof S[K0][K1][K2][K3][K4] = keyof S[K0][K1][K2][K3][K4]Parameterspath: [K0, K1, K2, K3, K4, K5, ]obj: SReturnsS[K0][K1][K2][K3][K4][K5]Type ParametersTParameterspathToSearch: stringobj: anyReturnsT | undefinedType ParametersTParameterspathToSearch: stringReturns(obj: any) => T | undefinedType ParametersTParameterspathToSearch: RamdaPathReturns(obj: any) => T | undefinedType ParametersTParameterspathToSearch: RamdaPathobj: anyReturnsT | undefined