Convert from Insertions with only Insertion objects (the only kind that are available from the Crunch API) to the more user-friendly and user-facing Subtotal and Heading object classes.

Convert from Insertions with only Insertion objects (the only kind that are available from the Crunch API) to the more user-friendly and user-facing Subtotal and Heading object classes.

subtypeInsertions(inserts)

subtypeInsertion(insert)

subtypeInsertions(inserts)

subtypeInsertion(insert)

Arguments

inserts

an Insertions object for subtypeInsertions

insert

a single Insertion object for subtypeInsertion

Value

an Insertions object with members subtyped for subtypeInsertions

or a Subtotal, Heading, or Insertion for subtypeInsertion

an Insertions object with members subtyped for subtypeInsertions

or a Subtotal, Heading, or Insertion for subtypeInsertion