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)
| Target | Type |
|---|---|
| FormField | uses |
| CustomComponentAdapter | uses |
| findAntLabel | uses |
| findAntId | uses |
| findAntName | uses |
| isAntRequired | uses |
| setReactInputValue | uses |
| getAntdSelector | uses |
| buildSignals | uses |
No incoming dependencies.