ts-collection
Version:
This is re-write of the java collection classes in typescript. There is some tweak as typescript templates are not as equivalent as Java.
15 lines (14 loc) • 453 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
function isSortedSet(param) {
if (param === undefined || param === null) {
return false;
}
return param.comparator !== undefined
&& param.subSet !== undefined
&& param.headSet !== undefined
&& param.tailSet !== undefined
&& param.first !== undefined
&& param.last !== undefined;
}
exports.isSortedSet = isSortedSet;