pk (Zod adapter)
const pk: object;Defined in: adapters/zod.ts:19
Zod schemas for Pakistani identifiers.
Type Declaration
Section titled “Type Declaration”Example
Section titled “Example”import { z } from 'zod';import { pk } from 'pakdatakit/zod';
const form = z.object({ cnic: pk.cnic(), phone: pk.phone() });