index.js
/**
* Verify if two given values match.
* Both values will be treated as strings.
*
* @public
* @since 0.1.0
* @param {Mixed} valueA - The first value to match.
* @param {Mixed} valueB - The second value, which will be compared with the first.
* @return {Boolean}
*
* @example
* var doValuesMatch = defy.match(1, '1')
*/
Verify if two given values match.
Both values will be treated as strings.
Verify if two given values match . Both values will be treated as strings .
function match (valueA, valueB) {
  const valA = normalizeValue(valueA)
  const valB = normalizeValue(valueB)
  if (valA !== valB) {
    return false
  }
  return true
}
function match ( valueA , valueB ) { const valA = normalizeValue ( valueA ) const valB = normalizeValue ( valueB ) if ( valA !== valB ) { return false } return true }
Verify if two given values match.
Verify if two given values match .
// Normalize values into strings