matches method infrastructure ✓ 100.0%

Last updated: 2026-03-04T23:21:38.384Z

Metrics

LOC: 9 Complexity: 5 Params: 1 Coverage: 100.0% (1/1 lines, 6x executed)

Signature

matches(el: HTMLElement): : boolean

Source Code

  matches(el: HTMLElement): boolean {
    return (
      (el.classList.contains("ant-input-affix-wrapper") ||
        el.classList.contains("ant-input-number") ||
        el.classList.contains("ant-mentions")) &&
      !el.classList.contains("ant-input-disabled") &&
      !el.classList.contains("ant-input-number-disabled")
    );
  },

Dependencies (Outgoing)

graph LR matches["matches"] FormField["FormField"] CustomComponentAdapter["CustomComponentAdapter"] findAntLabel["findAntLabel"] findAntId["findAntId"] findAntName["findAntName"] isAntRequired["isAntRequired"] setReactInputValue["setReactInputValue"] getAntdSelector["getAntdSelector"] buildSignals["buildSignals"] matches -->|uses| FormField matches -->|uses| CustomComponentAdapter matches -->|uses| findAntLabel matches -->|uses| findAntId matches -->|uses| findAntName matches -->|uses| isAntRequired matches -->|uses| setReactInputValue matches -->|uses| getAntdSelector matches -->|uses| buildSignals style matches fill:#dbeafe,stroke:#2563eb,stroke-width:2px click matches "cc5111fefe824574.html" click FormField "85cdbded927c91b0.html" click CustomComponentAdapter "dc86c1894fa368f3.html" click findAntLabel "4446526a4a01afd7.html" click findAntId "5d7c366d4d585434.html" click findAntName "5e51cc1f95724859.html" click isAntRequired "909385c51f5eb930.html" click setReactInputValue "924fcd707043186b.html" click getAntdSelector "707eae1ed4437c8e.html" click buildSignals "fdbba0db0d498eca.html"

No incoming dependencies.