public sameAs(other as SyntaxStyle) as Boolean
Returns true when both styles describe the exact same visual state.
| Parameter | Description |
|---|---|
other | Style to compare against. |
true when all color components and attributes match.
import klyn.code.highlighters assert SyntaxStyle.base().sameAs(SyntaxStyle())