function isReadOnlyFromCutoff
isReadOnlyFromCutoff(
now: number,
cutoff: string
): boolean

Pure helper: is the site read-only based on a cutoff timestamp?

Parameters

now: number
cutoff: string

Return Type

boolean

Usage

import { isReadOnlyFromCutoff } from "docs/config.ts";