WithNaN.hookOpEquals

bool hookOpEquals(Lhs, Rhs)(Lhs lhs, Rhs rhs)

Returns false if lhs == WithNaN.defaultValue!Lhs, lhs == rhs otherwise.

Parameters

lhsThe left-hand side of the comparison (Lhs is the first argument to Checked)
rhsThe right-hand side of the comparison

Returns

lhs != WithNaN.defaultValue!Lhs && lhs == rhs