voluptasmollitia
Version:
Monorepo for the Firebase JavaScript SDK
16 lines (9 loc) • 635 B
Markdown
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
[Home](./index.md) > [@firebase/database](./database.md) > [DataSnapshot](./database.datasnapshot.md) > [priority](./database.datasnapshot.priority.md)
## DataSnapshot.priority property
Gets the priority value of the data in this `DataSnapshot`<!-- -->.
Applications need not use priority but can order collections by ordinary properties (see [Sorting and filtering data](https://firebase.google.com/docs/database/web/lists-of-data#sorting_and_filtering_data) ).
<b>Signature:</b>
```typescript
get priority(): string | number | null;
```