Skip to main content
Version: v0.0.2

Function: formatsSupporting()

formatsSupporting(op): readonly CosyteFormat[]

The formats that support op, as a sorted, value-free list: used to build the "does not support" diagnostic so the user is told which formats do support the operation they asked for.

Parameters

op

Op

The wrapping operation.

Returns

readonly CosyteFormat[]

The supporting format names, sorted.

Example

import { formatsSupporting } from "@cosyte/cli";

formatsSupporting("fmt"); // => ["astm", "ccda", "fhir", "hl7", "ncpdp", "x12"]