aboutsummaryrefslogtreecommitdiff
path: root/src/index.ts
diff options
context:
space:
mode:
Diffstat (limited to 'src/index.ts')
-rw-r--r--src/index.ts6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/index.ts b/src/index.ts
index 7c10f85..acb613d 100644
--- a/src/index.ts
+++ b/src/index.ts
@@ -3,7 +3,8 @@ import {
getMultipleColumnDetails,
getSingleColumnDetails,
getSingleRowDetails,
- getMultipleRowDetails
+ getMultipleRowDetails,
+ rangeIndex
} from './lib/locate';
import { show, head, tail } from './lib/display';
import { getSize, info } from './lib/info';
@@ -57,6 +58,9 @@ class Izuku {
public flatten = () => {
return flatten(this.rowdata);
};
+ public rangeIndex = (index: number) => {
+ return rangeIndex(this, index);
+ };
}
class Frame extends Izuku {