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

single value filters interpreted as array? #30

Open
gMakaan opened this issue Sep 12, 2021 · 0 comments
Open

single value filters interpreted as array? #30

gMakaan opened this issue Sep 12, 2021 · 0 comments

Comments

@gMakaan
Copy link

gMakaan commented Sep 12, 2021

Found some interested thing about filters:

(= [[Candy-Bar]get[value]]+1 =) resulted in ComputeError: Cannot convert "2.03" to number!

I think best solution here will be using first() function with such filter.

Also found that, conversion this filter to t() (number() fails) extracts single value successfully, but i prefer using first() is better as it directly get value from array.

I propose add some mention about this behavior in plugin TW to new users get in faster about this.

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