ammonite.repl.api.ReplAPIScalaVersionSpecific.scala Maven / Gradle / Ivy
package ammonite.repl.api
import scala.reflect.runtime.universe._
trait ReplAPIScalaVersionSpecific {
/**
* Get the `Type` object of [[T]]. Useful for finding
* what its methods are and what you can do with it
*/
def typeOf[T: WeakTypeTag]: Type
/**
* Get the `Type` object representing the type of `t`. Useful
* for finding what its methods are and what you can do with it
*/
def typeOf[T: WeakTypeTag](t: => T): Type
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy