mirror of
https://github.com/NoFxAiOS/nofx.git
synced 2026-06-29 09:01:20 +08:00
- Multi-AI competition mode (Qwen vs DeepSeek) - Binance Futures integration - AI self-learning mechanism - Professional web dashboard - Complete risk management system
11 lines
263 B
JavaScript
11 lines
263 B
JavaScript
export default function some(values, test) {
|
|
if (typeof test !== "function") throw new TypeError("test is not a function");
|
|
let index = -1;
|
|
for (const value of values) {
|
|
if (test(value, ++index, values)) {
|
|
return true;
|
|
}
|
|
}
|
|
return false;
|
|
}
|