time-to-botec/squiggle/node_modules/@stdlib/complex/reviver-float64/docs/repl.txt
NunoSempere b6addc7f05 feat: add the node modules
Necessary in order to clearly see the squiggle hotwiring.
2022-12-03 12:44:49 +00:00

27 lines
435 B
Plaintext

{{alias}}( key, value )
Revives a JSON-serialized 128-bit complex number.
Parameters
----------
key: string
Key.
value: any
Value.
Returns
-------
out: any
Value or complex number.
Examples
--------
> var str = '{"type":"Complex128","re":5,"im":3}';
> var z = {{alias:@stdlib/utils/parse-json}}( str, {{alias}} )
<Complex128>
See Also
--------