Class TabularDataSnak

class for the TabularDataSnak

most used property of this type P4150 (weather history)

Hierarchy (view full)

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
  • Returns boolean

    true if the snak has a value

  • get internalID(): string
  • create a unique id for the Snak

    Returns string

    the id

Methods

  • this function checks if two snaks are equal

    Parameters

    Returns boolean

    true if the snaks are equal

    Example

    if (snak.equals(other)) {
    // do something
    }

Generated using TypeDoc