GuardsDOM Guards
Check File or Blob
Checks if a given value is an instance of File or Blob.
isFileOrBlob
Checks if a given value is an instance of File or Blob.
Function Signature
isFileOrBlob(value: unknown): value is File | BlobValidation Rules
- Must be File/Blob instance
- Available in browser environments
Example
playground.ts
Last updated: Tue, May 26, 2026 04:14:18PM (UTC)
