Function: getDefaultProfile()
getDefaultProfile():
X12Profile|undefined
Return the current default profile, or undefined if none is registered.
Returns
X12Profile | undefined
Example
import { getDefaultProfile } from "@cosyte/x12";
const p = getDefaultProfile();
if (p !== undefined) console.log("default profile:", p.name);