Skip to main content
Version: v0.0.6

Function: getDefaultAstmProfile()

getDefaultAstmProfile(): AstmProfile | undefined

Return the current process-scoped default profile, or undefined if none is registered.

Returns

AstmProfile | undefined

The default profile, or undefined.

Example

import { getDefaultAstmProfile } from "@cosyte/astm";
const p = getDefaultAstmProfile();
if (p !== undefined) console.log("default profile:", p.name);