at
constat: <T>(obj:string|T[],index:number) =>string|T=core.at
Defined in: packages/pythonlib/src/index.ts:138
Python-style index access with support for negative indices
Type Parameters
| Type Parameter |
|---|
T |
Parameters
| Parameter | Type |
|---|---|
obj | string | T[] |
index | number |
Returns
string | T