safeStringify
Dieser Inhalt ist noch nicht in deiner Sprache verfügbar.
safeStringify(
value,maxLength?):string
Defined in: src/util/SafeStringify.ts:27
Render value as a string, never throwing.
Parameters
Section titled “Parameters”unknown
maxLength?
Section titled “maxLength?”number = DEFAULT_MAX_LENGTH
Cap on the returned string; the tail is replaced with a truncation marker. A large body is a latency problem rather than a correctness one, but an error message has no use for the rest of it.
Returns
Section titled “Returns”string
