This commit is contained in:
24
node_modules/vscode-css-languageservice/lib/umd/utils/objects.js
generated
vendored
Normal file
24
node_modules/vscode-css-languageservice/lib/umd/utils/objects.js
generated
vendored
Normal file
@@ -0,0 +1,24 @@
|
||||
(function (factory) {
|
||||
if (typeof module === "object" && typeof module.exports === "object") {
|
||||
var v = factory(require, exports);
|
||||
if (v !== undefined) module.exports = v;
|
||||
}
|
||||
else if (typeof define === "function" && define.amd) {
|
||||
define(["require", "exports"], factory);
|
||||
}
|
||||
})(function (require, exports) {
|
||||
/*---------------------------------------------------------------------------------------------
|
||||
* Copyright (c) Microsoft Corporation. All rights reserved.
|
||||
* Licensed under the MIT License. See License.txt in the project root for license information.
|
||||
*--------------------------------------------------------------------------------------------*/
|
||||
'use strict';
|
||||
Object.defineProperty(exports, "__esModule", { value: true });
|
||||
exports.values = values;
|
||||
exports.isDefined = isDefined;
|
||||
function values(obj) {
|
||||
return Object.keys(obj).map(key => obj[key]);
|
||||
}
|
||||
function isDefined(obj) {
|
||||
return typeof obj !== 'undefined';
|
||||
}
|
||||
});
|
||||
Reference in New Issue
Block a user