klyn.code.LexicalState.isFormatted
property
public readonly property isFormatted as Boolean
Description

Indicates whether the active multi-line string supports {...} interpolation.

Returns

true if string interpolation is enabled.

Example
import klyn.code

s = LexicalState(LexicalMode.MULTILINE_STRING, "\"\"\"", false, true)
assert s.isFormatted