address.nearbyGPSCoordinate()
return type
#1058
xDivisionByZerox
started this conversation in
General
Replies: 1 comment
-
@xDivisionByZerox yes, I'm with you, it was maybe because the output is mostly used to be displayed somewhere. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
In todo list v2 there is a todo that aims to change the input parameter type of the
coordinate
property to[string, string]
for theaddress.nearbyGPSCoordinate()
function . The idea was that the function can provide an input parameter for itself since its return type is[string, string]
.My question is: Why doesn't the function return a number tuple in the first place? This seems much more reasonable that changing the input type (which would still be an option).
Beta Was this translation helpful? Give feedback.
All reactions