Class TabularDataSnak

Class for the TabularDataSnak.

Most used property of this type is P4150 (weather history).

Hierarchy (View Summary)

Constructors

Properties

datatype: string = 'tabular-data'
hash: undefined | string
property: `P${number}`
snaktype: SnakType
value: undefined | string

Accessors

  • Gets the link to the Wiki Commons page.

    Returns string

    The link to the Wiki Commons page.

  • get hasValue(): boolean
  • Checks if the snak has a value.

    Returns boolean

    True if the snak has a value.

  • get internalID(): string
  • Creates a unique ID for the Snak.

    Returns string

    The ID.

Methods