code: function _validateStepsParams(match) {
          var count = _convertToNumber(match[1]);
  
          if (!count.isNumber || count.value < 1 || Math.floor(count.value) !== count.value) {
              return false;
          }
  
          if (match[2] && match[2] !== "start" && match[2] !== "end") {
              return false;
          }
  
          return true;
      }
docs: Validate steps function parameters that are not already validated by regex:
  
  @param {RegExp.match} match  RegExp Match object with steps function parameters
  in array position 1 (and optionally 2).
  @return {boolean} true if all parameters are valid, otherwise, false