Skip to content

canShareBlob()

@blobs/sdk v0.1.0


@blobs/sdk / types/Blobs / canShareBlob

canShareBlob(blob): boolean

Defined in: types/Blobs.ts:124

Returns true if the calling user can grant/revoke shares on this blob.

Parameters

blob

Blob

Blob with permissions populated by the backend.

Returns

boolean

Whether permissions.can_share is true (defaults to false when permissions are absent).