UNPKG

@bitcobblers/wod-wiki-library

Version:

A specialized markdown-like workout syntax editor and runtime for defining workouts

9 lines (8 loc) 379 B
import { ActionFragment } from '../../../fragments/ActionFragment'; import { JitStatement } from '../../../JitStatement'; /** * Extracts the first action fragment from a runtime block * @param block The runtime block to extract from * @returns The first action fragment or undefined if none exists */ export declare function getAction(block: JitStatement): ActionFragment[];