function isReadOnly
isReadOnly(): boolean

Check if the system is in read-only mode (READ_ONLY env var)

Return Type

boolean

Usage

import { isReadOnly } from "doc.ts";