Skip to content

canEditBlob()

@blobs/sdk v0.1.0


@blobs/sdk / types/Blobs / canEditBlob

canEditBlob(blob): boolean

Defined in: types/Blobs.ts:104

Returns true if the calling user can edit this blob.

Parameters

blob

Blob

Blob with permissions populated by the backend.

Returns

boolean

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