UNPKG

@wildboar/rose

Version:
25 lines (24 loc) 712 B
import { Forward } from './Forward.osa.mjs'; import { Reverse } from './Reverse.osa.mjs'; /** * @summary ConsumerPerforms * @description * * **This production was manually written in TypeScript.** * * ### ASN.1 Definition: * * ```asn1 * ConsumerPerforms{OPERATION-PACKAGE:package} OPERATION ::= {Forward{{package.&Consumer}} | Forward{{package.&Both}} | * Reverse{{package.&Supplier}} | Reverse{{package.&Both}}} * ``` */ export function ConsumerPerforms(package_) { return [ ...Forward(package_['&Consumer'] ?? []), ...Forward(package_['&Both'] ?? []), ...Reverse(package_['&Supplier'] ?? []), ...Reverse(package_['&Both'] ?? []), ]; } /* eslint-enable */