a = get "https://jsonplaceholder.typicode.com/posts/1"
jsonParse (extract data from $a)
The expected result is a map of the $a.data string, but in reality it will end with None of the statements are executable because extract returns any and not map.
In this case the client needs to check the return type at runtime and based on that decide if the command can be executed.
For example:
The expected result is a map of the $a.data string, but in reality it will end with
None of the statements are executable
becauseextract
returnsany
and notmap
.In this case the client needs to check the return type at runtime and based on that decide if the command can be executed.