mvp-ai's picture
download
raw
613 Bytes
// Copyright (c) 2026 the Zuke contributors
// SPDX-License-Identifier: MIT
/**
* Type guards for the JSON the Azure CLI prints. Internal to the package: every
* reader narrows a parsed document through these instead of asserting a type
* onto it, so a response of an unexpected shape is reported, not trusted.
*
* @module
*/
/** A JSON object. */
type JsonRecord = Record<string, unknown>;
/** Whether `value` is a JSON object (not an array, not `null`). */
export function isRecord(value: unknown): value is JsonRecord {
return typeof value === "object" && value !== null && !Array.isArray(value);
}

Xet Storage Details

Size:
613 Bytes
·
Xet hash:
fa9dbe2a6b2ba374b566dfcafc95467dd0175288588dbd6d3a9f8f61c6a61f4c

Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.