This repository has been archived on 2024-02-26. You can view files and clone it, but cannot push or open issues or pull requests.
cosmos-sql-language-service/dist/language-service/Utils.js

19 lines
677 B
JavaScript
Raw Permalink Normal View History

2018-11-26 15:46:04 +00:00
"use strict";
//-----------------------------------------------------------------------------
// Copyright (c) Microsoft Corporation. All rights reserved.
//-----------------------------------------------------------------------------
Object.defineProperty(exports, "__esModule", { value: true });
exports.Utils = void 0;
2018-11-26 15:46:04 +00:00
var Utils = /** @class */ (function () {
function Utils() {
}
Utils.notEmpty = function (value) {
return value !== null && value !== undefined;
};
Utils.notDuplicate = function (item, pos, self) {
return self.indexOf(item) == pos;
};
return Utils;
}());
exports.Utils = Utils;
//# sourceMappingURL=Utils.js.map