mirror of
https://github.com/status-im/realm-js.git
synced 2025-01-22 12:30:58 +00:00
Add isValid() method doc for collections
This commit is contained in:
parent
8f3c778b72
commit
979c035dbb
@ -29,6 +29,13 @@ class Collection {
|
||||
*/
|
||||
get length() {}
|
||||
|
||||
/**
|
||||
* Checks if this collection has not been deleted and is part of a valid Realm.
|
||||
* @returns {boolean} indicating if the collection can be safely accessed.
|
||||
* @since 0.14.0
|
||||
*/
|
||||
isValid() {}
|
||||
|
||||
/**
|
||||
* Returns new _Results_ that represent this collection being filtered by the provided query.
|
||||
* @param {string} query - Query used to filter objects from the collection.
|
||||
|
Loading…
x
Reference in New Issue
Block a user