oportunidades 7
tests / ci (push) Waiting to run

This commit is contained in:
2026-10-13 11:40:29 +02:00
parent 20971d523f
commit 287e991486
2902 changed files with 1085456 additions and 25957 deletions
+8
View File
@@ -0,0 +1,8 @@
/** Display a saved JSON value without silently rendering objects as "[object Object]". */
export function valueText(value: unknown): string {
if (value === null || value === undefined) return '';
if (typeof value === 'string') return value;
if (typeof value === 'number' || typeof value === 'boolean')
return String(value);
return JSON.stringify(value) ?? '';
}