org.clulab.reach.context.Context.scala Maven / Gradle / Ivy
The newest version!
package org.clulab.reach.context
trait Context {
var context: Option[Map[String, Seq[String]]] = None
/** Tell whether context map exists and is non-empty or not. */
def hasContext (): Boolean = context.exists(_.nonEmpty)
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy