Class Hyperlink

A class representing hyperlink link data within the map.

Hierarchy

  • default
    • Hyperlink

Properties

Accessors

Methods

Properties

id: string

identity of the map object

Accessors

  • get name(): undefined | string
  • Gets the name of the hyperlink.

    Returns undefined | string

    The name of the hyperlink.

  • get url(): string
  • Gets the url of the hyperlink.

    Returns string

    The url of the hyperlink.

Methods

  • Serializes the hyperlink data to JSON.

    Returns {
        id: string;
        name: undefined | string;
        url: string;
    }

    An object representing the hyperlink.

    • id: string
    • name: undefined | string
    • url: string
  • Checks if the provided instance is of type Hyperlink.

    Parameters

    • instance: object

      The instance to check.

    Returns instance is Hyperlink

    True if the instance is a Hyperlink, false otherwise.