time-to-botec/squiggle/node_modules/@stdlib/complex/reviver-float32/docs/repl.txt

27 lines
432 B
Plaintext
Raw Normal View History

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