function compare(value, searchTerm) {
  return ('' + value).toLowerCase().indexOf(searchTerm) !== -1;
}
Compares two values
@param {*} value Mixed type value that will be cast to string
@param {string} searchTerm Search string
@returns {boolean} Search match