function checkLength(string, min, max) {
    if (string.length > max || string.length < min) {
      return false;
    }
    return true;
  }
/**
    * Tests if the string is the correct length
    *
    * @public
    * @method checkLength
    * @param {string} string - The string to test
    * @param {integer} min - the lower bound
    * @param {integer} max - the upper bound
    * @return {boolean} Returns true if string is correct length, false if not
    */
Tests if the string is the correct length


Tests if the string is the correct length
function checkLength(string, min, max) {
    if (string.length > max || string.length < min) {
      return false;
    }
    return true;
  }
function checkLength ( string , min , max ) { if ( string . length > max || string . length < min ) { return false ; } return true ; }
Tests if the string is the correct length
Tests if the string is the correct length