Updated smnp.lang (markdown)
@@ -84,7 +84,7 @@ println(typeOf({ c -> @c, d -> @d })); # map
|
||||
```
|
||||
|
||||
# Methods
|
||||
## `<list>.get(index: int)`
|
||||
## `list.get(index: int)`
|
||||
Returns list element of given index.
|
||||
|
||||
### Arguments
|
||||
@@ -100,7 +100,7 @@ lastElement = myList.get(3);
|
||||
println(lastElement); # 4
|
||||
```
|
||||
|
||||
## `<map>.get(key: <int, note, string, bool>)`
|
||||
## `map.get(key: <int, note, string, bool>)`
|
||||
Returns map element associated with given key.
|
||||
|
||||
### Arguments
|
||||
@@ -121,7 +121,7 @@ element = myMap.get("hello");
|
||||
println(element); # world
|
||||
```
|
||||
|
||||
## `<string>.charAt(index: int)`
|
||||
## `string.charAt(index: int)`
|
||||
Returns string's character of given index.
|
||||
|
||||
### Arguments
|
||||
|
||||
Reference in New Issue
Block a user