Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/earthstar/src/entries/universal.ts>docIsExpired

Storage for private, distributed, offline-first applications.
Go to Latest
function docIsExpired
Re-export
import { docIsExpired } from "https://deno.land/x/earthstar@v10.0.1/src/entries/universal.ts";

Return whether a document is expired or not

Type Parameters

FormatType extends string
DocType extends DocBase<FormatType>

Parameters

doc: DocType
optional
now: number