Skip to content

Commit 554b9b8

Browse files
committed
🔥 Remove unused functions
This change removes unused utility functions that were accidentally included in ottypes#40
1 parent eb883ee commit 554b9b8

File tree

1 file changed

+0
-10
lines changed

1 file changed

+0
-10
lines changed

‎lib/json0.js‎

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -45,16 +45,6 @@ var clone = function(o) {
4545
return JSON.parse(JSON.stringify(o));
4646
};
4747

48-
var validateListIndex = function(key) {
49-
if (typeof key !== 'number')
50-
throw new Error('List index must be a number');
51-
};
52-
53-
var validateObjectKey = function (key) {
54-
if (typeof key !== 'string')
55-
throw new Error('Object key must be a number');
56-
};
57-
5848
/**
5949
* JSON OT Type
6050
* @type {*}

0 commit comments

Comments
 (0)