Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

vector

Creates a new VectorValue constructed with a copy of the given array of numbers.

function vector(values?: number[]): VectorValue;
§
vector(values?: number[]): VectorValue
[src]

§Parameters

§
values?: number[] optional
[src]
  • Create a VectorValue instance with a copy of this array of numbers.

§Return Type

§

A new VectorValue constructed with a copy of the given array of numbers.