Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Auto type #319

Open
autonordev opened this issue Dec 4, 2023 · 2 comments
Open

Auto type #319

autonordev opened this issue Dec 4, 2023 · 2 comments

Comments

@autonordev
Copy link
Collaborator

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" -> string
  • hello -> string
  • true -> boolean
@itsrenderman
Copy link
Contributor

itsrenderman commented May 13, 2024

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
Copy link
Contributor

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants