Skip to content

modern-pdf-lib


modern-pdf-lib / Operand

Type Alias: Operand

Operand = number | string | boolean | null | PdfName | Operand[]

Defined in: src/parser/contentStreamParser.ts:34

A single operand value in a content stream.

  • number — integer or real
  • string — literal (…) or hex <…> string (decoded to a JS string)
  • booleantrue / false
  • null — the PDF null keyword
  • PdfName — a /Name
  • Operand[] — a PDF array […]

Released under the MIT License.