getManifestStringValue
Reads the value of a top-level string member of the manifest.
Import:
import { getManifestStringValue } from 'obsidian-dev-utils/script-utils/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.