Skip to content

Function: holdsExclusive()

Documentation / @wtf/platform-fs / features / holdsExclusive

function holdsExclusive<H>(handle): handle is H & HoldsExclusive;

Defined in: packages/platform-fs/src/features.ts:27

Whether a file’s handle holds a writable of mode: 'exclusive', and says so.

Type Parameters

Type Parameter
H extends FileSystemFileHandle

Parameters

ParameterType
handleH

Returns

handle is H & HoldsExclusive