VectorValue
class VectorValue
Represent a vector type in Firestore documents. Create an instance with vector.
Summary
Public functions |
|
|---|---|
Boolean |
Returns true if this VectorValue is equal to the provided object. |
Int |
hashCode() |
DoubleArray<Double> |
toArray()Returns a representation of the vector as an array of doubles. |
Public functions
equals
fun equals(obj: Any!): Boolean
Returns true if this VectorValue is equal to the provided object.
| Parameters | |
|---|---|
obj: Any! |
The object to compare against. |
| Returns | |
|---|---|
Boolean |
Whether this VectorValue is equal to the provided object. |
toArray
fun toArray(): DoubleArray<Double>
Returns a representation of the vector as an array of doubles.
| Returns | |
|---|---|
DoubleArray<Double> |
A representation of the vector as an array of doubles |