fivem-ts

a library to speed up the development of Fivem scripts and frameworks


Project maintained by Purpose-Dev Hosted on GitHub Pages — Theme by mattgraham

fivem-ts - Documentation v0.7.5Docs


fivem-ts - Documentation v0.7.5 / Shared / GraphNode

Class: GraphNode<T>

Represents a node in a graph structure.

Type Parameters

T

The type of the value held by the node.

Implements

Constructors

new GraphNode()

new GraphNode<T>(value): GraphNode<T>

Parameters

value: T

Returns

GraphNode<T>

Defined in

shared/ds/graph/GraphNode.ts:9

Methods

getValue()

getValue(): T

Retrieves the current value stored in the instance.

Returns

T

The value stored in the instance.

Implementation of

IGraphNode.getValue

Defined in

shared/ds/graph/GraphNode.ts:16