跳到主要内容

checkOPFSAvailable()

function checkOPFSAvailable(): Promise<boolean>;

Defined in: @browser/opfs-detection.ts:14

异步检测 OPFS 是否真正可用

Returns

Promise<boolean>

是否可用