popOrNull

fun popOrNull(): T?

Pops the topmost CardView from this CardStack and returns it, or null, if the stack is empty. Removes it from the CardStack.