Improve wording of comment (#1331)

Avoid a triple negative ("aren't unless non-null")
This commit is contained in:
Rafer45 2021-05-24 17:19:38 -04:00 committed by GitHub
parent d15a41ab83
commit b098adb289
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -20,8 +20,8 @@ class FunctionExpression implements Expression, CallableInvocation {
/// The name of the function being invoked.
///
/// Underscores aren't converted to hyphens in this name *unless* [namespace]
/// is non-`null`, since otherwise it could be a plain CSS function call.
/// If [namespace] is non-`null`, underscores are converted to hyphens in this name.
/// If [namespace] is `null`, this could be a plain CSS function call, so underscores are kept unchanged.
///
/// If this is interpolated, the function will be interpreted as plain CSS,
/// even if it has the same name as a Sass function.