Spracherkennung für: .ts vermutete Sprache: Unknown {[0] [0] [0]} [Methode: Schwerpunktbildung, einfache Gewichte, sechs Dimensionen]
import type { InteractiveReply, InteractiveReplyBlock } from "../../../interactive/payload.js";
export function reduceInteractiveReply<TState>(
interactive: InteractiveReply | undefined,
initialState: TState,
reduce: (state: TState, block: InteractiveReplyBlock, index: number) => TState,
): TState {
let state = initialState;
for (const [index, block] of (interactive?.blocks ?? []).entries()) {
state = reduce(state, block, index);
}
return state;
}
¤ Dauer der Verarbeitung: 0.21 Sekunden
(vorverarbeitet am 2026-04-27)
¤
*© Formatika GbR, Deutschland