We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8deda8d commit fd49805Copy full SHA for fd49805
1 file changed
src/vs/base/common/objects.ts
@@ -177,12 +177,6 @@ export function equals(one: any, other: any): boolean {
177
return true;
178
}
179
180
-export function ensureProperty(obj: any, property: string, defaultValue: any) {
181
- if (typeof obj[property] === 'undefined') {
182
- obj[property] = defaultValue;
183
- }
184
-}
185
-
186
export function arrayToHash(array: any[]) {
187
const result: any = {};
188
for (let i = 0; i < array.length; ++i) {
0 commit comments