strictEquality

scala.runtime.stdLibPatches.language.strictEquality

Where imported, loose equality using eqAny is disabled.

Why allow and control the feature? For compatibility and migration reasons, strict equality is opt-in. See linked documentation for more information.

Attributes

See also
Source
language.scala
Graph
Supertypes
class Object
trait Matchable
class Any
Self type
In this article