fixed #2923: [DOC] distance syntax is wrong#2924
Conversation
|
Thanks @tmtron The syntax descriptions are indeed mixed with examples. I think thought that replacing all of it with Wouldn't it be better to keep all of the syntaxes but remove the values? I.e. replace: math.distance({pointOneX: 4, pointOneY: 5}, {pointTwoX: 2, pointTwoY: 7})with: math.distance({ pointOneX, pointOneY }, { pointTwoX, pointTwoY })On a side note: the function |
That's of course also possible. I was just under the wrong impression that the syntax should only be one line. But there are already other functions that use multiple lines. I am not quite sure, how the individual array elements should be named, maybe like this? |
|
Yes, that's it indeed. Each line is actually supported syntax 😅 |
* added detailed syntax descriptions
|
Thanks! |
|
Published now in |
this fixes #2923