18 lines
653 B
JavaScript
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
|