* Sets the pure condition * @param {PureCondition} pure pure condition * @returns {void}
(pure)
| 62 | * @returns {void} |
| 63 | */ |
| 64 | setPure(pure) { |
| 65 | this.conditional = typeof pure === "function"; |
| 66 | this._pure = pure === true; |
| 67 | this.pureFn = typeof pure === "function" ? pure : undefined; |
| 68 | } |
| 69 | |
| 70 | /** |
| 71 | * @param {Compilation} compilation compilation |
no outgoing calls
no test coverage detected