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

Method findField

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

* Find a field by fully-qualified name.

(name: string)

Source from the content-addressed store, hash-verified

224 * Find a field by fully-qualified name.
225 */
226 findField(name: string): FormField | null {
227 return this.fields.find(f => f.name === name) ?? null;
228 }
229
230 /**
231 * Find a terminal field by name.

Callers 3

findTerminalFieldMethod · 0.95
field-tree.test.tsFile · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected