getManifestStringValue
Reads the value of a top-level string member of the manifest.
Import:
import { getManifestStringValue } from '@mnaoumov/obsidian-dev-toolkit/linters/eslint-rules/manifest-helpers';Signature:
function getManifestStringValue(manifestObject: JsonObjectNode, key: string): string | nullParameters:
| Parameter | Type | Description |
|---|---|---|
manifestObject |
JsonObjectNode | The manifest’s root object node. |
key |
string | The key to look for. |
Returns: string | null — The member’s value, or null when it is absent or not a string.