klyn.code.highlighters.SyntaxStyle.sameAs
method
public sameAs(other as SyntaxStyle) as Boolean
Description

Returns true when both styles describe the exact same visual state.

Parameters
ParameterDescription
otherStyle to compare against.
Returns

true when all color components and attributes match.

Example
import klyn.code.highlighters

assert SyntaxStyle.base().sameAs(SyntaxStyle())