Open autonordev opened 12 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
Also, would there be any way to explicity state you want the string "123" instead of it auto-typing to the number 123?
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.
123
-> number"123"
-> stringhello
-> stringtrue
-> boolean