mirror of
https://github.com/NoFxAiOS/nofx.git
synced 2026-07-01 01:51:19 +08:00
- Multi-AI competition mode (Qwen vs DeepSeek) - Binance Futures integration - AI self-learning mechanism - Professional web dashboard - Complete risk management system
10 lines
284 B
JavaScript
10 lines
284 B
JavaScript
var regExpInputs = /^(?:input|select|textarea|button)$/i;
|
|
/**
|
|
* Checks if a given element is an input (input, select, textarea or button).
|
|
*
|
|
* @param node the element to check
|
|
*/
|
|
|
|
export default function isInput(node) {
|
|
return node ? regExpInputs.test(node.nodeName) : false;
|
|
} |