UNPKG

@island.is/kennitala

Version:

Icelandic social security number (kennitölur) utilities for servers and clients

10 lines (9 loc) 591 B
import { ValidationOptions } from "./types"; declare const evaluate: (kt: string, entityEvaluationFn: ((kt: string) => boolean) | null) => boolean; declare const isValidDate: (kt: string) => boolean; declare const isPerson: (kt: string) => boolean; declare const isTestPerson: (kt: string) => boolean; declare const isCompany: (kt: string) => boolean; declare const isTemporary: (kt: string) => boolean; declare const getDefaultOptions: (options?: ValidationOptions) => ValidationOptions; export { evaluate, getDefaultOptions, isCompany, isPerson, isTemporary, isTestPerson, isValidDate, };