Safety Helpers
Standalone safety-verdict utilities exported from the package root.
1 method
(root exports).isVerdictTrustworthy()
Whether a risk profile's verdict can be trusted as a safety judgment. False for a failed sync scan (scanStatus 'failed'), an errored deep analysis (deep.status 'error'), or an absent profile — in those states aggregateRiskLevel 'none' is a sentinel (could not determine), not a clean verdict. deep: null (pending/skipped/legacy) stays trusted. Deep-aware since 0.43.0.
Parameters
profilerequiredRiskProfile | null | undefinedThe riskProfile from a Definition (may be absent).
isVerdictTrustworthy(profile: RiskProfile | null | undefined): booleantypescript
import { RegistryClient } from '@uluops/registry-sdk';
const client = new RegistryClient({
apiKey: 'ulr_your-api-key',
});
const result = await (root exports).isVerdictTrustworthy('example-value');Response Type
boolean