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

Reports whether a key is present.

Parameters

key: string

Configuration key

Return Type

boolean

true if the key has a value

Usage

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