[Extension] Stringify - Convert anything to strings!

Hello everyone, and it’s ya boy back with another bite-sized extension! Today, I made a simple extension to “stringify” any (default) datatype neatly. Numbers, booleans, arrays, objects, anything!

Blocks (again, just one)

function stringify(value: any): string;

image

Pretty simple: drag the value you wish to convert, and get a string back! This was originally an internal extension meant for me but I decided to share it for good measure.

The conversion is also recursive, which means arrays inside of arrays, objects inside of objects and etc. will be converted.

That’s all for this extension, it’s short but sweet. The next one is going to be bigger. So, stay tuned for that. Peace :v:

11 Likes

Imporant announcement

I changed my GitHub username, so please remove this extension in any project you may have it imported, and instead import the new link under my new username (sargedev).

This is not necessary, as the extension should still work, but it would be the safest option. By importing the new link you will also get access to any new updates.

WARNING: Do not import the new link before removing the old one, as this could cause conflicts

2 Likes