@adyen/kyc-components
Version:
This guide assumes that you have already an account with Adyen. A legalEntity needs to be created, and you need to have a `legalEntityId` to instatiate a Component.
11 lines (10 loc) • 371 B
TypeScript
import type { Mask } from './maskTypes';
/**
* Takes a formatted value and converts it back into a pure value by stripping the non-input /
* non-included characters in a given {@link Mask}.
*
* This is the inverse of {@link matchAgainstMask}.
*
* @see matchAgainstMask
*/
export declare const displayValueToPureValue: (displayValue: string, mask: Mask) => string;