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

type function #76

Open
Tracked by #5
liquidev opened this issue Jun 8, 2022 · 0 comments
Open
Tracked by #5

type function #76

liquidev opened this issue Jun 8, 2022 · 0 comments
Labels
enhancement New feature or request good first issue Good for newcomers mod: corelib

Comments

@liquidev
Copy link
Member

liquidev commented Jun 8, 2022

Currently there's no way of obtaining the type of an instance. For this, a type function should be introduced.

assert(type(1) == Number)
assert(type([]) == List)
assert(type(nil) == Nil)
# etc.
@liquidev liquidev mentioned this issue Jun 8, 2022
11 tasks
@liquidev liquidev added mod: corelib enhancement New feature or request labels Jun 8, 2022
@liquidev liquidev removed this from Mica 1.0 Sep 10, 2022
@liquidev liquidev added the good first issue Good for newcomers label Feb 5, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request good first issue Good for newcomers mod: corelib
Projects
None yet
Development

No branches or pull requests

1 participant