isNumber = value =>
  // eslint-disable-next-line no-self-compare
  value === value && typeof value === 'number'
check for not being NaN (NaN is the only value in javascript which is not equal to itself)

@param {number} value to check