Skip to content

Feature: Type: Math

Аниса edited this page Sep 9, 2022 · 1 revision

━ What's the Objective?

JS provides built in Math module by default, however it lacks certain special vendors & classes that are essentially required for most of the generic cases such as Quat, Matrix etc; thus, the extension!

━ APIs

ℹ️ Note:

Our extensions are written with backwards compatibility in mind; Expect your previous code to work as usual! However we recommend upgrading to newer syntax.


━ vKit.Number() (Shared)

@Objective: Converts a value to number.
const string: result = vKit.Number(
  ~: value
)