Function: isKnownTarget()¶
isKnownTarget(
name):name is KnownTarget
Defined in: core/src/types/config.ts:452
Type guard to check if a target name is a known built-in target. Useful for narrowing TargetName to KnownTarget in switch statements and enabling exhaustiveness checks.
Parameters¶
name¶
string
The target name to check
Returns¶
name is KnownTarget
True if the name is a known built-in target