A field containing a date value.

Hierarchy

Constructors

Properties

boundingBox: BoundingBox

Contains exactly 4 relative vertices coordinates (points) of a right rectangle containing the field in the document.

confidence: number

The confidence score of the prediction.

dateObject?: Date

Date as a standard JavaScript Date object.

isComputed?: boolean

Whether the field was computed or retrieved directly from the document.

pageId?: number

Page ID for multi-page document.

polygon: Polygon = []

Contains the relative vertices coordinates (points) of a polygon containing the field in the document.

reconstructed: boolean

true when the field was reconstructed or computed using other fields.

value?: string

Date string in ISO format.

Methods

  • Returns

    true if all elements in array1 exist in array2 and vice-versa, false otherwise

    Parameters

    • array1: Field[]

      first Array of Fields

    • array2: Field[]

      second Array of Fields

    • attr: string = "value"

      Attribute to compare

    Returns boolean

Generated using TypeDoc