Companion

object Companion

Functions

invoke
Link copied to clipboard
common
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).