io.github.arainko.ducktape.internal.Side.scala Maven / Gradle / Ivy
package io.github.arainko.ducktape.internal
private[ducktape] enum Side derives Debug {
case Source, Dest
final def isSource: Boolean =
this match {
case Source => true
case Dest => false
}
final def isDest: Boolean = !isSource
}