voluptasmollitia
Version:
Monorepo for the Firebase JavaScript SDK
18 lines (10 loc) • 546 B
Markdown
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
[Home](./index.md) > [@firebase/firestore](./firestore.md) > [/](./firestore_.md) > [Timestamp](./firestore_.timestamp.md) > [valueOf](./firestore_.timestamp.valueof.md)
## Timestamp.valueOf() method
Converts this object to a primitive string, which allows Timestamp objects to be compared using the `>`<!-- -->, `<=`<!-- -->, `>=` and `>` operators.
<b>Signature:</b>
```typescript
valueOf(): string;
```
<b>Returns:</b>
string