Skip to content

canDeleteBlob()

@blobs/sdk v0.1.0


@blobs/sdk / types/Blobs / canDeleteBlob

canDeleteBlob(blob): boolean

Defined in: types/Blobs.ts:114

Returns true if the calling user can delete this blob.

Parameters

blob

Blob

Blob with permissions populated by the backend.

Returns

boolean

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