Membrane SDK - v0.29.2
Console
React Lib
REST API
Preparing search index...
isBlob
Function isBlob
isBlob
(
value
:
unknown
)
:
value
is
BlobLike
Checks if a value is a Blob or Blob-like object.
Works across environments:
Browser native Blob
Node.js Blob (v15.7.0+)
Node.js Buffer (detected separately, not a Blob)
Polyfills (e.g., fetch-blob, formdata-node)
Custom implementations
Detection strategy:
Native instanceof check (fastest path)
Duck typing with required properties + at least one Blob-specific method
Constructor name fallback for edge cases (polyfills, cross-realm)
Parameters
value
:
unknown
Returns
value
is
BlobLike
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
Console
React Lib
REST API
Membrane SDK - v0.29.2
Loading...
Checks if a value is a Blob or Blob-like object.
Works across environments:
Detection strategy: