@oazmi/kitchensink - v0.9.13
    Preparing search index...

    Type Alias KeyPathsOf<T>

    KeyPathsOf: KeyPathTree<T>[NonSymbolKeys<T>]

    get an array of all possible key-paths.

    Type Parameters

    • T
    let data = { kill: { your: { self: [0, 1, { 0: 0, 1: { noice: "YAHAHA", 0: "you found me!" } }] } } } as const
    let path_to_noice: KeyPathsOf<typeof data> = ["kill", "your", "self", 2, 1, "noice"]