code: function (text, value) {
          var valueLength = value.length;
          if (text.length < valueLength) {
              return false;
          }
          
          return text.substring(0, valueLength) === value;
      }
docs: Determine whether text starts with value.
  
  @param {String} text the text to check if value is the beginning part of the string.
  @param {String} value the potential value of the start of the string.
  @return {Boolean}
  @api private
  
  @example startsWith("hey there", "hey") === true
  @example startsWith("hey there", "hello") === true