* Checks whether this export info contains the base info. * @param {ExportInfo} baseInfo base info * @param {RuntimeSpec} runtime runtime * @returns {boolean} true when has info, otherwise false
(baseInfo, runtime)
| 1812 | * @returns {boolean} true when has info, otherwise false |
| 1813 | */ |
| 1814 | hasInfo(baseInfo, runtime) { |
| 1815 | return ( |
| 1816 | (this._usedName && this._usedName !== this.name) || |
| 1817 | this.provided || |
| 1818 | this.terminalBinding || |
| 1819 | this.getUsed(runtime) !== baseInfo.getUsed(runtime) |
| 1820 | ); |
| 1821 | } |
| 1822 | |
| 1823 | /** |
| 1824 | * Updates the hash with the data contributed by this instance. |