fn
runPreprocessors
testedRun the preprocessor chain, threading { elementState, data }.
Signature
ts
export function runPreprocessors(
processors: readonly MaskPreprocessor[],
elementState: ElementState,
data: string,
action: MaskAction,
):{ ... }Parameters
| Parameter | Type | Description |
|---|---|---|
processors | readonly MaskPreprocessor[] | — |
elementState | ElementState | — |
data | string | — |
action | MaskAction | — |
Returns
{ elementState: ElementState; data: string }| Property | Type | Description |
|---|---|---|
elementState | ElementState | — |
data | string | — |