arrays started: literals, size, splats, index access RW
This commit is contained in:
1 parent
f881faf89f
commit
c18345823b
12 files changed
+361
-137
No files matched your search
@@ -0,0 +1,24 @@
|
||||
# List built-in class
|
||||
|
||||
Mutable list of any objects.
|
||||
|
||||
It's class in Ling is `List`:
|
||||
|
||||
[1,2,3]::class
|
||||
>>> List
|
||||
|
||||
you can use it's class to ensure type:
|
||||
|
||||
[]::class == List
|
||||
>>> true
|
||||
|
||||
## Members
|
||||
|
||||
| name | meaning | type |
|
||||
|---------|-------------------------------|------|
|
||||
| `.size` | property returns current size | Int |
|
||||
| | | |
|
||||
| | | |
|
||||
| | | |
|
||||
| | | |
|
||||
| | | |
|
||||
Reference in new issue
Block a user