truth<T> method

T truth<T>(
  1. T tv,
  2. T fv
)

Implementation

T truth<T>(T tv, T fv) {
  if (this) {
    return tv;
  }
  return fv;
}