Skip to content

type ​

Get the reference type of a reference.

Signature ​

ts
class Reference {
  type(): ReferenceType | null;
}

Returns ​

  • null | ReferenceType

    Returns null if the type is unknown.

    - Direct : A reference which points at an object id.
    - Symbolic : A reference which points at another reference.

Released under the MIT License.