intellij-randomness / com.fwdekker.randomness / SchemesPanel / differsFromDefault

differsFromDefault

open fun differsFromDefault(scheme: T): Boolean

Returns true if the given scheme is the default scheme.

Since the default scheme is defined by its name, this method returns true if its name is not the default name.

Parameters

scheme - the scheme to compare against the default scheme