mcdoc boolean is being treated as a string? #674
Unanswered
blockninja124
asked this question in
Q&A
Replies: 1 comment 1 reply
-
Right now dispatch only works on string values. We should probably look into expanding this to other types. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
So when trying to setup a conditional struct based on if
weather
is true, I found that the dispatch simply failed every time. Then when experimenting, I found that it considered the string "true" =true
but not boolean true =true
? Am I doing something wrong? Do I need to somehow "cast" it to a boolean? Or is this a bug?Beta Was this translation helpful? Give feedback.
All reactions