UNPKG
@extra-array/get-path
Version:
latest (2.10.19)
2.10.19
2.10.18
2.10.17
2.10.16
2.10.15
2.10.14
2.10.13
2.10.12
2.10.11
2.10.10
2.10.9
2.10.8
2.10.7
2.10.6
2.10.5
Gets value at path in a nested array.
github.com/nodef/extra-array
nodef/extra-array
@extra-array/get-path
/
index.d.ts
10 lines
(9 loc)
•
245 B
TypeScript
View Raw
1
2
3
4
5
6
7
8
9
10
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}