MCPcopy
hub / github.com/less/less.js / isSilent

Method isSilent

packages/less/lib/less/tree/comment.js:42–45  ·  view source on GitHub ↗

* @param {EvalContext} context * @returns {boolean}

(context)

Source from the content-addressed store, hash-verified

40 * @returns {boolean}
41 */
42 isSilent(context) {
43 const isCompressed = context.compress && /** @type {string} */ (this.value)[2] !== '!';
44 return this.isLineComment || isCompressed;
45 }
46}
47
48export default Comment;

Callers 2

to-css-visitor.jsFile · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected