Skip to content

mermaid


Function: evaluate() ​

evaluate(val?): boolean

Defined in: packages/mermaid/src/config.ts:62

Converts a string/boolean into a boolean

Parameters ​

val? ​

String or boolean to convert

string | boolean | null

Returns ​

boolean

The result from the input

Opens in mermaid.ai