Skip to main content

c2pa.assertionaccessor.get

Home > c2pa > AssertionAccessor > get

AssertionAccessor.get property

Convenience method that returns an array of all assertions matching a given label, sorted by their index value

Signature:
get: <T extends AllAssertions['label']>(label: T) => (Extract<AllAssertions, {
label: T;
}> | undefined)[];