Signature
path=null start=null
Parameters
- arr:
number[]- The array of numbers to check.
Returns
boolean - True if the array contains at least one even number, false otherwise.
Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
Checks if an array contains an even number.
hasEvenNumber(arr: number[]): boolean
number[] - The array of numbers to check.boolean - True if the array contains at least one even number, false otherwise.