function isInt(int) {
    return !isNaN(int) && parseInt(Number(int)) == int && !isNaN(parseInt(int, 10));
  }
Determines if what is passed in is an integer or not.

Public Accessor: AmplitudeHelpers.isInt( int )

@access public
@param {string|number} int - The variable we are testing to see is an integer or not.
@returns {boolean} If the variable is an integer or not.