* Check if relationship is circular. * @param wrapperId Wrapper id to check. * @returns True if relationship is circular, false otherwise.
(wrapperId: string)
| 54 | * @returns True if relationship is circular, false otherwise. |
| 55 | */ |
| 56 | public isCycle(wrapperId: string) { |
| 57 | return !this.completed && this._refs.has(wrapperId); |
| 58 | } |
| 59 | } |