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

Reports whether a key is present.

Parameters

key: string

Session key

Return Type

boolean

true when the key exists

Usage

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