Merge branch 'develop' into re-ed25519

This commit is contained in:
tamaina 2024-08-17 13:52:49 +09:00
commit 4477f956f8
78 changed files with 2181 additions and 586 deletions

View file

@ -6,3 +6,7 @@
export type JsonValue = JsonArray | JsonObject | string | number | boolean | null;
export type JsonObject = {[K in string]?: JsonValue};
export type JsonArray = JsonValue[];
export function isJsonObject(value: JsonValue | undefined): value is JsonObject {
return typeof value === 'object' && value !== null && !Array.isArray(value);
}