Type conversion
This content is not available in your language yet.
This page shows examples of converting between primitive types and obtaining them from composite types.
This content is not available in your language yet.
This page shows examples of converting between primitive types and obtaining them from composite types.
Int
↔ String
String
to an Int
Int
to a String
Struct
or Message
↔ Cell
or Slice
Struct
or Message
to a Cell
or a Slice
Cell
or a Slice
to an arbitrary Struct
or Message