Skip to main content
Version: v0.0.3

Function: collectProfileDefects()

collectProfileDefects(profile): readonly ProfileDefect[]

Internal

Collect every structural defect in a candidate conformance profile. Total over unknown and never throws: a caller may pass any value (even one cast through any) and get back a defect list rather than an exception. An empty result means the profile is well-formed enough to validate against.

Parameters

profile

unknown

Returns

readonly ProfileDefect[]