lib/ascii.js
function isDelimiter(code) {
  return code === 0x22                // '"'
    || code === 0x28                  // '('
    || code === 0x29                  // ')'
    || code === 0x2C                  // ','
    || code === 0x2F                  // '/'
    || code >= 0x3A && code <= 0x40   // ':', ';', '<', '=', '>', '?' '@'
    || code >= 0x5B && code <= 0x5D   // '[', '\', ']'
    || code === 0x7B                  // '{'
    || code === 0x7D;                 // '}'
}
function isDelimiter(code) {
  return code === 0x22                // '"'
    || code === 0x28                  // '('
    || code === 0x29                  // ')'
    || code === 0x2C                  // ','
    || code === 0x2F                  // '/'
    || code >= 0x3A && code <= 0x40   // ':', ';', '<', '=', '>', '?' '@'
    || code >= 0x5B && code <= 0x5D   // '[', '\', ']'
    || code === 0x7B                  // '{'
    || code === 0x7D;                 // '}'
}
function isDelimiter ( code ) { return code === 0x22 // '"' || code === 0x28 // '(' || code === 0x29 // ')' || code === 0x2C // ',' || code === 0x2F // '/' || code >= 0x3A && code <= 0x40 // ':', ';', '<', '=', '>', '?' '@' || code >= 0x5B && code <= 0x5D // '[', '\', ']' || code === 0x7B // '{' || code === 0x7D ; // '}' }
Check if a character is a delimiter as defined in section 3.2.6 of RFC 7230.


@param {number} code The code of the character to check.
@returns {boolean} `true` if the character is a delimiter, else `false`.
@public
Check if a character is a delimiter as defined in section 3 . 2 . 6 of RFC 7230 .