Skip to main content
Deno.PermissionOptionsObject.read - Deno documentation
property Deno.PermissionOptionsObject.read

Specifies if the read permission should be requested or revoked. If set to "inherit", the current read permission will be inherited. If set to true, the global read permission will be requested. If set to false, the global read permission will be revoked. If set to Array<string | URL>, the read permission will be requested with the specified file paths.

Type

"inherit"
| boolean
| Array<string | URL>