vectorCreates 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§VectorValue[src]A new VectorValue constructed with a copy of the given array of numbers.