Companion

object Companion

Functions

Link copied to clipboard
operator fun <A> invoke(type: TypeToken<A>, value: A): Typed<A>

Creates a Typed instance for the given type and value

operator fun <A> invoke(type: TypeToken<A>, func: () -> A): Typed<A>

Creates a Typed instance for the given type and value creator (which will be lazily called).