> ## Documentation Index
> Fetch the complete documentation index at: https://resq-dependabot-github-actions-github-actions-478e18be3d.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# IsValidPhone

# Function: isValidPhone()

> **isValidPhone**(`phone`): `boolean`

Defined in: [sanitize.ts:640](https://github.com/resq-software/npm/blob/fe2e20ae9db8398a0db1e3218edaabb3cf7004d6/packages/security/src/sanitize.ts#L640)

Validates if a string is a valid phone number using Effect Schema.

## Parameters

### phone

`string`

The string to validate.

## Returns

`boolean`

true if valid phone number, false otherwise.
