Home > @infiniteobjects/core-library-node > Cast > asStableString
Deterministic JSON.stringify()
Signature:
static asStableString<T = ObjectLike>(val: T): string;
Parameter | Type | Description |
---|---|---|
val | T |
Returns:
string
By using this method, we can get a consistent hash from stringified results