UNPKG

@wildboar/rose

Version:
20 lines (19 loc) 440 B
import { Forward } from './Forward.osa.mjs'; /** * @summary Reverse * @description * * **This production was manually written in TypeScript.** * * ### ASN.1 Definition: * * ```asn1 * Reverse{OPERATION:OperationSet} OPERATION ::= {Forward{{OperationSet.&Linked}}} * ``` * * @type {OPERATION} */ export function Reverse(OperationSet) { return Forward(OperationSet.flatMap((op) => op["&Linked"] ?? [])); } /* eslint-enable */