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

18 lines
653 B
JavaScript
Raw 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 });
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