function lensPathimport { lensPath } from "https://deno.land/x/rambda@9.2.1/mod.ts"; lensPath<S, K0 extends keyof S = keyof S>(path: [K0]): Lens<S, S[K0]>It returns a lens that focuses on specified path. lensPath<S, K0 extends keyof S = keyof S, K1 extends keyof S[K0] = keyof S[K0]>(path: [K0, K1]): Lens<S, S[K0][K1]>lensPath<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]): Lens<S, S[K0][K1][K2]>lensPath<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, ]): Lens<S, S[K0][K1][K2][K3]>lensPath<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, ]): Lens<S, S[K0][K1][K2][K3][K4]>lensPath<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, ]): Lens<S, S[K0][K1][K2][K3][K4][K5]>lensPath<S = any, A = any>(path: Path): Lens<S, A>It returns a lens that focuses on specified path. Type ParametersSoptionalK0 extends keyof S = keyof SParameterspath: [K0]ReturnsLens<S, S[K0]>Type ParametersSoptionalK0 extends keyof S = keyof SoptionalK1 extends keyof S[K0] = keyof S[K0]Parameterspath: [K0, K1]ReturnsLens<S, S[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]ReturnsLens<S, S[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, ]ReturnsLens<S, S[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, ]ReturnsLens<S, S[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, ]ReturnsLens<S, S[K0][K1][K2][K3][K4][K5]>Type ParametersoptionalS = anyoptionalA = anyParameterspath: PathReturnsLens<S, A>