method ISession.delete
ISession.delete(key: string): boolean

Removes a key and marks the session for commit.

Parameters

key: string

Session key

Return Type

boolean

true when a value was removed

Usage

import { type ISession } from "common/src/index.ts";