The API reference is a Work in Progress and will be continuously improved and extended. We'd love to hear your feedback in our documentation repository.
Home > @edtr-io/plugin > isTempFile
isTempFile() function
Signature:export declare function isTempFile<T>(state: FileState<T>): state is TempFile
Parameters
Parameter | Type | Description |
---|---|---|
state | FileState<T> | The current state |
state is TempFile