gethasfrontConfig(): boolean {
return (matter.test(this.getDocumentText()) as any) as boolean // bad d.ts file
}
gray-matter
Parse front-matter from a string or file. Fast, reliable and easy to use. Parses YAML front matter by default, but also has support for YAML, JSON, TOML or Coffee Front-Matter, with options to set custom delimiters. Used by metalsmith, assemble, verb and