eslint-plugin-copilot Documentation / _internal/frontmatter / hasFrontmatterField
Function: hasFrontmatterField()
function hasFrontmatterField(
document: FrontmatterDocument,
key: string
): boolean;
Defined in: _internal/frontmatter.ts:404
Determine whether a field exists but is empty or unparsable for our subset.
Parametersâ
| Parameter | Type |
|---|---|
document | FrontmatterDocument |
key | string |
Returnsâ
boolean