code: function isInteger(value) {
          // Validate value is a number
          if (typeof (value) !== "number" || isNaN(parseInt(value, 10))) {
              return false;
          }
  
          // Validate number is an integer
          if (Math.floor(value) !== value) {
              return false;
          }
  
          // Validate number is finite
          if (!isFinite(value)) {
              return false;
          }
  
          return true;
      }
docs: Used to validate whether type of unknown value is an integer.
  
  @param {*} value Value for which to validate its type
  @return {boolean} true if value is a finite integer