Updated smnp.lang (markdown)

Bartłomiej Przemysław Pluta
2020-03-24 22:06:08 +01:00
parent f5f10623e0
commit b654d86cd0

@@ -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