UNPKG

@extra-array/get-path

Version:

Gets value at path in a nested array.

10 lines (9 loc) 245 B
declare module "@extra-array/get-path" { /** * Gets value at path in a nested array. * @param x a nested array * @param p path */ declare function getPath(x: any[], p: number[]): any; export = getPath; //# sourceMappingURL=getPath.d.ts.map}