JavaScript/6kyu/Is_Integer_Array.js
// returns false / False for every other input.
returns false / False for every other input.
returns false / False for every other input .
function isIntArray(arr) {
  return !Array.isArray(arr) ? false
  : arr.length === 0 ? true
  : arr.filter(n=> (
      n !== null &&
      !isNaN(n) &&
      Number.isInteger(n)
    )).length === arr.length;
}
function isIntArray ( arr ) { return ! Array . isArray ( arr ) ? false : arr . length === 0 ? true : arr . filter ( n => ( n !== null && ! isNaN ( n ) && Number . isInteger ( n ) ) ) . length === arr . length ; }
returns false / False for every other input.
returns false / False for every other input .