JSFiddle - React, Tailwind, and code Playground

JavaScript

var allNumbers = [1, 2, 4, 5, 6, 7, 8],
    someNumbers = ['1', '2', 'привет', 4, 5, 6, 7, '8'],
    noNumbers = ['это', 'массив', 'без', 'чисел'];

function isNumber(val) {
	return typeof val === 'number';
}


function isSomeTrue(source, filterFn) {

	var count = 0;
  
  function foo(){
  
    if(source.length > count){
        if (filterFn(source[count])) {
         return true
        }; 
        
         
         else{
       		 count++;
          	foo() 
      }
    }
    
    return false
	}
  
  return foo()
}


console.log(isSomeTrue(noNumbers, isNumber));