Skip to Content
APIFunctionsFunction: createPhoneSchema()

Hero Hook Form API v2.15.0


Hero Hook Form API / createPhoneSchema

Function: createPhoneSchema()

createPhoneSchema(): ZodString

Defined in: utils/validation.ts:40 

Creates a phone number validation schema

Returns

ZodString