Skip to content

ObsidianTransport.evaluate

ObsidianTransport › evaluate

Type: (expression: string, options: TransportEvalOptions) => Promise<string>

Evaluates a JavaScript expression string inside Obsidian and returns the raw string result.

The transport normalizes the output — stripping transport-specific prefixes and handling transport-specific errors — so callers receive a clean result string (e.g. a JSON string, or (no output)).