[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-06-30 UTC."],[],[],null,["# VectorValue class\n\nRepresents a vector type in Firestore documents. Create an instance with [vector()](./firestore_.md#vector_0dbdaf2).\n\nVectorValue\n\n**Signature:** \n\n export declare class VectorValue \n\nMethods\n-------\n\n| Method | Modifiers | Description |\n|-----------------------------------------------------------------------|-----------|--------------------------------------------------------------------------------------------------------------------------------------|\n| [fromJSON(json)](./firestore_lite.vectorvalue.md#vectorvaluefromjson) | `static` | Builds a `VectorValue` instance from a JSON object created by [VectorValue.toJSON()](./firestore_.vectorvalue.md#vectorvaluetojson). |\n| [isEqual(other)](./firestore_lite.vectorvalue.md#vectorvalueisequal) | | Returns `true` if the two `VectorValue` values have the same raw number arrays, returns `false` otherwise. |\n| [toArray()](./firestore_lite.vectorvalue.md#vectorvaluetoarray) | | Returns a copy of the raw number array form of the vector. |\n| [toJSON()](./firestore_lite.vectorvalue.md#vectorvaluetojson) | | Returns a JSON-serializable representation of this `VectorValue` instance. |\n\nVectorValue.fromJSON()\n----------------------\n\nBuilds a `VectorValue` instance from a JSON object created by [VectorValue.toJSON()](./firestore_.vectorvalue.md#vectorvaluetojson).\n\n**Signature:** \n\n static fromJSON(json: object): VectorValue;\n\n#### Parameters\n\n| Parameter | Type | Description |\n|-----------|--------|---------------------------------------------------------|\n| json | object | a JSON object represention of a `VectorValue` instance. |\n\n**Returns:**\n\n[VectorValue](./firestore_lite.vectorvalue.md#vectorvalue_class)\n\nan instance of [VectorValue](./firestore_.vectorvalue.md#vectorvalue_class) if the JSON object could be parsed. Throws a [FirestoreError](./firestore_.firestoreerror.md#firestoreerror_class) if an error occurs.\n\nVectorValue.isEqual()\n---------------------\n\nReturns `true` if the two `VectorValue` values have the same raw number arrays, returns `false` otherwise.\n\n**Signature:** \n\n isEqual(other: VectorValue): boolean;\n\n#### Parameters\n\n| Parameter | Type | Description |\n|-----------|------------------------------------------------------------------|-------------|\n| other | [VectorValue](./firestore_lite.vectorvalue.md#vectorvalue_class) | |\n\n**Returns:**\n\nboolean\n\nVectorValue.toArray()\n---------------------\n\nReturns a copy of the raw number array form of the vector.\n\n**Signature:** \n\n toArray(): number[];\n\n**Returns:**\n\nnumber\\[\\]\n\nVectorValue.toJSON()\n--------------------\n\nReturns a JSON-serializable representation of this `VectorValue` instance.\n\n**Signature:** \n\n toJSON(): object;\n\n**Returns:**\n\nobject\n\na JSON representation of this object."]]