Skip to content

getStringValue

Reads the value of a Momoa string node.

Import:

import { getStringValue } from '@mnaoumov/obsidian-dev-toolkit/linters/eslint-rules/manifest-helpers';

Signature:

function getStringValue(node: JsonNode): string | null

Parameters:

Parameter Type Description
node JsonNode The node to read.

Returns: string | null — The string value, or null when the node is not a string.