GHHG10's picture
download
raw
257 Bytes
/** Plain-record narrowing. Excludes arrays so JSON object checks don't accept tuples as key/value bags. */
export const isRecord = (value: unknown): value is Record<string, unknown> =>
typeof value === "object" && value !== null && !Array.isArray(value)

Xet Storage Details

Size:
257 Bytes
·
Xet hash:
25af572620794f049f704874287cf29ca073a50045e09460783ebe1f42491392

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