src/sass/parse.js
function checkMultilineSC(i) {
  if (!tokens[i]) return 0;

  let l;
  let lsc = 0;

  while (i < tokensLength) {
    if (!(l = checkS(i)) &&
      !(l = checkCommentML(i)) &&
      !(l = checkCommentSL(i))) break;

    i += l;
    lsc += l;
  }

  return lsc || 0;
}
function checkMultilineSC(i) {
  if (!tokens[i]) return 0;

  let l;
  let lsc = 0;

  while (i < tokensLength) {
    if (!(l = checkS(i)) &&
      !(l = checkCommentML(i)) &&
      !(l = checkCommentSL(i))) break;

    i += l;
    lsc += l;
  }

  return lsc || 0;
}
function checkMultilineSC ( i ) { if ( ! tokens [ i ] ) return 0 ; let l ; let lsc = 0 ; while ( i < tokensLength ) { if ( ! ( l = checkS ( i ) ) && ! ( l = checkCommentML ( i ) ) && ! ( l = checkCommentSL ( i ) ) ) break ; i += l ; lsc += l ; } return lsc || 0 ; }
Check if token is a space, newline, or a comment.
@param {number} i Token's index number
@return {number} Number of similar (space, newline, or comment) tokens
in a row starting with the given token.
Check if token is a space newline or a comment .