Anys

object Anys(source)

Collection of extensions that apply to Any object.

Functions

Link copied to clipboard
inline fun <T, P : Position<P>> T.toPosition(environment: Environment<T, P>): P

Tries to convert a concentration T into a valid position of type P descriptor. Types are bound to the environment types.

Link copied to clipboard
fun <E> E.unfold(extractor: (E) -> Sequence<E>): Sequence<E>

The opposite of fold.