diff --git a/scss/utilities/_spacing.scss b/scss/utilities/_spacing.scss
index c43387dec10484d04e7f7d83e43b0e0d490dfb84..351136790a48a33a2622627e4267425a2ec90b61 100644
--- a/scss/utilities/_spacing.scss
+++ b/scss/utilities/_spacing.scss
@@ -30,7 +30,7 @@
 
     // Negative margins (e.g., where `.mb-n1` is negative version of `.mb-1`)
     @each $size, $length in $spacers {
-      @if not $size == 0 {
+      @if $size != 0 {
         .m#{$infix}-n#{$size} { margin: -$length !important; }
         .mt#{$infix}-n#{$size},
         .my#{$infix}-n#{$size} {