Skip to content

@ralphschuler.ai function caller.index.<internal>.FileLike

github-actions edited this page Nov 26, 2023 · 1 revision

Interface: FileLike

index.<internal>.FileLike

Implemented by

Table of contents

Properties

Methods

Properties

[toStringTag]

[toStringTag]: string

Defined in

node_modules/formdata-node/@type/File.d.ts:19


lastModified

Readonly lastModified: number

The last modified date of the file as the number of milliseconds since the Unix epoch (January 1, 1970 at midnight). Files without a known last modified date return the current date.

Defined in

node_modules/formdata-node/@type/File.d.ts:18


name

Readonly name: string

Name of the file referenced by the File object.

Defined in

node_modules/formdata-node/@type/File.d.ts:6


size

Readonly size: number

Size of the file parts in bytes

Defined in

node_modules/formdata-node/@type/File.d.ts:10


type

Readonly type: string

Returns the media type (MIME) of the file represented by a File object.

Defined in

node_modules/formdata-node/@type/File.d.ts:14

Methods

stream

stream(): AsyncIterable<Uint8Array>

Returns a ReadableStream which upon reading returns the data contained within the File.

Returns

AsyncIterable<Uint8Array>

Defined in

node_modules/formdata-node/@type/File.d.ts:23

Typescript Libraries

Modules

Namespaces

Clone this wiki locally