MCPcopy Create free account
hub / github.com/LibPDF-js/core / terminalFields

Method terminalFields

src/document/forms/field-tree.ts:201–207  ·  view source on GitHub ↗

* Iterate over only terminal fields (those that hold values).

()

Source from the content-addressed store, hash-verified

199 * Iterate over only terminal fields (those that hold values).
200 */
201 *terminalFields(): Generator<TerminalField> {
202 for (const field of this.fields) {
203 if (field instanceof TerminalField) {
204 yield field;
205 }
206 }
207 }
208
209 /**
210 * Get all fields as an array.

Callers 2

field-tree.test.tsFile · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected