const array = [1, 2, 3, 4] const none = !array.some(value => value === 5) // none === true when none of the elements matches the condition