View as Markdown

API reference: @salmonui/inputs/masked-field

parseMaskfunction

import { parseMask } from '@salmonui/inputs/masked-field';
function parseMask(mask: string, tokens?: MaskTokens): Mask;

Compiles a mask; results are cached per mask string when no tokens are given.