You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
9 lines
335 B
9 lines
335 B
3 years ago
|
import _isValidNumber from './validate_.js'
|
||
|
import { normalizeArguments } from './getNumberType.js'
|
||
|
|
||
|
// Finds out national phone number type (fixed line, mobile, etc)
|
||
|
export default function isValidNumber()
|
||
|
{
|
||
|
const { input, options, metadata } = normalizeArguments(arguments)
|
||
|
return _isValidNumber(input, options, metadata)
|
||
|
}
|