VectorValue
class VectorValue : NSObject, @unchecked SendableRepresents a vector type in Firestore documents.
-
Returns a copy of the raw number array that represents the vector.
-
Creates a
VectorValueconstructed with a copy of the given array of NSNumbers.Parameters
arrayAn array of NSNumbers that represents a vector.
-
Undocumented
Declaration
Swift
convenience init(_ array: [Double]) -
Returns a raw number array representation of the vector.
Declaration
Swift
var array: [Double] { get }Return Value
An array of Double values representing the vector.