Skip to main content

Function: isSpecdConfig()

isSpecdConfig(v): v is SpecdConfig

Defined in: packages/core/src/application/specd-config.ts:192

Type guard that returns true when v is a SpecdConfig.

Used in factory function overloads to distinguish the two call signatures: createX(config: SpecdConfig) vs createX(context, options).

Parameters

v

unknown

The value to test

Returns

v is SpecdConfig

true when v is a SpecdConfig