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
2018-11-26 10:46:04 -05:00

18 lines
653 B
JavaScript

"use strict";
//-----------------------------------------------------------------------------
// Copyright (c) Microsoft Corporation. All rights reserved.
//-----------------------------------------------------------------------------
Object.defineProperty(exports, "__esModule", { value: true });
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