From 227d7a33ffde4a93afcabfddb12bcc479fdfbd0c Mon Sep 17 00:00:00 2001 From: Kayne Ruse Date: Sun, 5 Feb 2023 23:55:03 +1100 Subject: [PATCH] Added _getKeys() and _getValues() --- compound-library.md | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/compound-library.md b/compound-library.md index e23e0e7..34721da 100644 --- a/compound-library.md +++ b/compound-library.md @@ -10,6 +10,14 @@ The compound library can usually be accessed with the `import` keyword: 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) This function returns a new string which is identical to the string `self`, except any uppercase letters are replaced with the corresponding lowercase letters.