Skip to content

Support bool-typed arguments in actions #390

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

Closed
wolfmanstout opened this issue Oct 6, 2021 · 1 comment
Closed

Support bool-typed arguments in actions #390

wolfmanstout opened this issue Oct 6, 2021 · 1 comment

Comments

@wolfmanstout
Copy link

This would allow for cleaner action interfaces even if 0/1 is used as true/false in the .talon file.

From Ryan: "I can possibly make 0/1 typed as Union[int, bool], and force to int if you do math on them"

@lunixbochs
Copy link

done in beta 0.2.0-201

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