@wildboar/rose
Version:
Remote Operation Service Element PDUs in TypeScript
20 lines (19 loc) • 440 B
JavaScript
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 */