@angular-devkit/core
Version:
Angular DevKit - Core Utility Library
18 lines (17 loc) • 530 B
JavaScript
/**
* @license
* Copyright Google LLC All Rights Reserved.
*
* Use of this source code is governed by an MIT-style license that can be
* found in the LICENSE file at https://angular.dev/license
*/
Object.defineProperty(exports, "__esModule", { value: true });
exports.isJsonObject = isJsonObject;
exports.isJsonArray = isJsonArray;
function isJsonObject(value) {
return value != null && typeof value === 'object' && !Array.isArray(value);
}
function isJsonArray(value) {
return Array.isArray(value);
}
;