type alias List.LastKeyimport { type List } from "https://deno.land/x/ts_toolbelt_unofficial@1.1.0/mod.ts"; const { LastKey } = List; Get the last index of L ExamplesExample 1 Type ParametersL extends Listdefinition: Length<Tail<L>>