mirror of
https://github.com/krgamestudios/Toy.git
synced 2026-04-15 23:04:08 +10:00
Added _getKeys() and _getValues()
This commit is contained in:
@@ -10,6 +10,14 @@ The compound library can usually be accessed with the `import` keyword:
|
|||||||
import compound;
|
import compound;
|
||||||
```
|
```
|
||||||
|
|
||||||
|
## _getKeys(self: dictionary)
|
||||||
|
|
||||||
|
This returns an array of all non-null keys stored within the dictionary. The order is undefined.
|
||||||
|
|
||||||
|
## _getValues(self: dictionary)
|
||||||
|
|
||||||
|
This returns an array of all values with non-null keys stored within the dictionary. The order is undefined.
|
||||||
|
|
||||||
## _toLower(self: string)
|
## _toLower(self: string)
|
||||||
|
|
||||||
This function returns a new string which is identical to the string `self`, except any uppercase letters are replaced with the corresponding lowercase letters.
|
This function returns a new string which is identical to the string `self`, except any uppercase letters are replaced with the corresponding lowercase letters.
|
||||||
|
|||||||
Reference in New Issue
Block a user