Can't map data with "string" data type #1238
Unanswered
onlylove855
asked this question in
Q&A
Replies: 2 comments 2 replies
-
+1 Also getting this error when mapping data |
Beta Was this translation helpful? Give feedback.
0 replies
-
You're getting this error because your variable 'aaa' is a string type variable Map is a function for arrays You need to turn your string into an array |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I want map data like this:
![image](https://user-images.githubusercontent.com/22310875/231642776-26e53b3d-0a5c-41d6-8546-12b1d32db93c.png)
var aaa = "QSM"
map "QSM" to "ZZZ"
when I execute it, it shows error "Can't map data with "string" data type"
![image](https://user-images.githubusercontent.com/22310875/231643030-01766dcb-a488-4430-a368-90c4c9f6efc8.png)
Why am I getting this error?
Beta Was this translation helpful? Give feedback.
All reactions