Add char type to the docs
This commit is contained in:
parent
2d17ce3ee2
commit
8e6c6d81ad
@ -357,7 +357,8 @@ Sophia has the following types:
|
|||||||
| Type | Description | Example |
|
| Type | Description | Example |
|
||||||
|----------------------|---------------------------------------------------------------------------------------------|--------------------------------------------------------------|
|
|----------------------|---------------------------------------------------------------------------------------------|--------------------------------------------------------------|
|
||||||
| int | A 2-complement integer | ```-1``` |
|
| int | A 2-complement integer | ```-1``` |
|
||||||
| address | æternity address, 32 bytes | ```Call.origin``` |
|
| char | A single character | ```'c'``` |
|
||||||
|
| address | æternity address, 32 bytes | ```Call.origin``` |
|
||||||
| bool | A Boolean | ```true``` |
|
| bool | A Boolean | ```true``` |
|
||||||
| bits | A bit field | ```Bits.none``` |
|
| bits | A bit field | ```Bits.none``` |
|
||||||
| bytes(n) | A byte array with `n` bytes | ```#fedcba9876543210``` |
|
| bytes(n) | A byte array with `n` bytes | ```#fedcba9876543210``` |
|
||||||
|
Loading…
x
Reference in New Issue
Block a user