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

canResetScheme

open fun canResetScheme(scheme: T): Boolean

Returns true if the given scheme can be reset.

Because only the default scheme cannot be reset, this method is equivalent to differsFromDefault.

Parameters

scheme - the scheme to check for resetability

Return
true if the given scheme can be reset