From e4620684b3e58cb46d7d790cd66eecba26f1d011 Mon Sep 17 00:00:00 2001 From: Kayne Ruse Date: Mon, 6 Feb 2023 00:32:12 +1100 Subject: [PATCH] Added _toString() --- compound-library.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/compound-library.md b/compound-library.md index 34721da..ebf698c 100644 --- a/compound-library.md +++ b/compound-library.md @@ -22,6 +22,10 @@ This returns an array of all values with non-null keys stored within the diction This function returns a new string which is identical to the string `self`, except any uppercase letters are replaced with the corresponding lowercase letters. +## _toString(self) + +This function returns a string representation of `self`. This is intended for arrays and dictionaries, but can theoretically work on any printable value. + ## _toUpper(self: string) This function returns a new string which is identical to the string `self`, except any lowercase letters are replaced with the corresponding uppercase letters.