eslint-plugin-copilot Documentation / _internal/frontmatter / getFrontmatterList
Function: getFrontmatterList()
function getFrontmatterList(
document: FrontmatterDocument,
key: string
): readonly string[] | undefined;
Defined in: _internal/frontmatter.ts:392
Read a non-empty list of scalar frontmatter values.
Parametersâ
| Parameter | Type |
|---|---|
document | FrontmatterDocument |
key | string |
Returnsâ
readonly string[] | undefined