-
Hi, import {
SModelElement,
hasArguments
} from '@eclipse-glsp/client';
.....
let element: SModelElement | undefined;
....
if (element && hasArguments(element)) {
element.args.....
} I understand that |
Beta Was this translation helpful? Give feedback.
Answered by
rsoika
Nov 14, 2023
Replies: 1 comment 1 reply
-
...ok I try to answer it by myself: it looks like import {
GModelElement,
hasArgs
} from '@eclipse-glsp/client';
.....
let element: GModelElement | undefined;
....
if (element && hasArgs(element)) {
element.args.....
} |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
tortmayr
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
...ok I try to answer it by myself: it looks like
hasArguments
is replaced byhasArgs
.So the code should now look like the following - right?