@textile/hub > WriteTransaction > has
WriteTransaction.has() method
has checks whether a given instance exists in the given store.
Signature:
has(IDs: string[]): Promise<boolean>;
Parameters
Parameter | Type | Description |
---|---|---|
IDs | string[] | An array of instance ids to check for. |
Returns:
Promise<boolean>