toFirestore
Function: toFirestore()
toFirestore(
value):any
Defined in: gcp/src/services/firestore.service.ts:88
Recursively convert a value to what Firestore can store
Dates are kept as is (Firestore stores them as Timestamp), objects exposing a
toJSON (models, binaries) are serialized first, functions and undefined are dropped
Parameters
value
any
the value to convert
Returns
any
the Firestore compatible value