movein<T> function

T movein <T>(
  1. T a,
  2. T b(
      )
    )

    Equivalent to && operator in JavaScript.

    Implementation

    T movein<T>(T a, T b()) => a == null ? null : b();