docs: added Typed info

This commit is contained in:
Richard Moore 2023-04-05 04:20:48 -04:00
parent a851b24d0a
commit 9cb2a9d89b

View File

@ -1,5 +1,14 @@
/**
* About typed...
* A Typed object allows a value to have its type explicitly
* specified.
*
* For example, in Solidity, the value ``45`` could represent a
* ``uint8`` or a ``uint256``. The value ``0x1234`` could represent
* a ``bytes2`` or ``bytes``.
*
* Since JavaScript has no meaningful way to explicitly inform any
* APIs which what the type is, this allows transparent interoperation
* with Soldity.
*
* @_subsection: api/abi:Typed Values
*/