본문으로 건너뛰기

isLinkExists

Description

지정된 링크가 존재하는지 확인합니다

isLinkExists: (id: string | number) => boolean

Parameters

  • id - (필수) string | number - 링크 아이디

Returns

  • link - (boolean) - , 만약 그러한 링크가 존재하면. 그렇지 않으면, 거짓

Example

gantt.addLink({
id:1,
source:1,
target:2,
type:1
});
gantt.isLinkExists(1); // ->참
Need help?
Got a question about the documentation? Reach out to our technical support team for help and guidance. For custom component solutions, visit the Services page.