* Checks whether this module graph connection is target active. * @param {RuntimeSpec} runtime the runtime * @returns {boolean} true, if the connection is active
(runtime)
| 168 | * @returns {boolean} true, if the connection is active |
| 169 | */ |
| 170 | isTargetActive(runtime) { |
| 171 | if (!this.conditional) return this._active; |
| 172 | return ( |
| 173 | /** @type {GetConditionFn} */ (this.condition)(this, runtime) === true |
| 174 | ); |
| 175 | } |
| 176 | |
| 177 | /** |
| 178 | * Returns true: fully active, false: inactive, TRANSITIVE: direct module inactive, but transitive connection maybe active. |
no outgoing calls
no test coverage detected