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 / IStack

Interface: IStack<T>

Interface representing a stack data structure.

Type Parameters

T

The type of elements held in the stack.

Methods

isEmpty()

isEmpty(): boolean

Returns

boolean

Defined in

shared/ds/stack/IStack.ts:10


isFull()

isFull(): boolean

Returns

boolean

Defined in

shared/ds/stack/IStack.ts:11


peek()

peek(): T

Returns

T

Defined in

shared/ds/stack/IStack.ts:9


pop()

pop(): T

Returns

T

Defined in

shared/ds/stack/IStack.ts:8


push()

push(item): void

Parameters

item: T

Returns

void

Defined in

shared/ds/stack/IStack.ts:7


size()

size(): number

Returns

number

Defined in

shared/ds/stack/IStack.ts:12