doc / ch.tutteli.atrium.creating / MaybeSubject / Present

Present

data class Present<T> : MaybeSubject<T> (source)
Deprecated: Use something like ch.tutteli.atrium.core.Some instead; will be removed with 1.0.0

Represents a present subject.

Constructors

<init>

Present(subject: T)

Represents a present subject.

Properties

subject

val subject: T

The underlying subject.

Functions

get

fun get(): T

Returns the subject.