MCPcopy Create free account
hub / github.com/react-hook-form/react-hook-form / clearTel

Function clearTel

examples/V7/customMaskedInputWithController.tsx:7–7  ·  view source on GitHub ↗
(tel)

Source from the content-addressed store, hash-verified

5import './styles.css';
6
7export const clearTel = (tel) => tel.replace(/[^0-9]/g, '');
8
9const isNotFilledTel = (v) => {
10 const clearedTel = clearTel(v);

Callers 1

isNotFilledTelFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected