evaera / Cmdr

Extensible command console for Roblox developers
https://eryn.io/Cmdr/
MIT License
375 stars 109 forks source link

Auto type #319

Open autonordev opened 12 months ago

autonordev commented 12 months ago

Similar to the proposed variant type, works a bit like Excel. The type will automatically change based on its input, functioning similarly to a union prefix type (so it's transparent to the user in the Window AutoComplete what the type will be processed as).

E.g.

itsrenderman commented 6 months ago

Which types of values would this be limited to? I'm assuming it would just be the standard nil, boolean, number & string - but it might be interesting to see tables be possible with this

itsrenderman commented 6 months ago

Also, would there be any way to explicity state you want the string "123" instead of it auto-typing to the number 123?