Skip to content

isZero()

Description

Returns true if the vector is empty.

Syntax

JS
isZero() -> Boolean

Return value

Type Description
Boolean Returns true, if the vector is empty.

Example

JS
1
2
3
let vec = Geom.vector3(0,0,0)
let result = vec.isZero()
console.info(result)

See Also

Last update: 14 August 2025, 18:47