mirror of https://github.com/marrub--/zscript-doc
17 lines
233 B
Markdown
17 lines
233 B
Markdown
|
# Type[N]
|
||
|
|
||
|
Fixed-size arrays have a size method attached to them for convenience purposes.
|
||
|
|
||
|
```
|
||
|
struct Type[N]
|
||
|
{
|
||
|
uint Size() const;
|
||
|
}
|
||
|
```
|
||
|
|
||
|
- `Size`
|
||
|
|
||
|
Returns the size of the array. This is a compile-time constant.
|
||
|
|
||
|
<!-- EOF -->
|