conditionalSelect method

  1. @override
VestaNativeFq conditionalSelect(
  1. VestaNativeFq a,
  2. VestaNativeFq b,
  3. bool choice
)
override

Conditional selection: returns b if choice is true, a otherwise.

Implementation

@override
VestaNativeFq conditionalSelect(
  VestaNativeFq a,
  VestaNativeFq b,
  bool choice,
) {
  return choice ? b : a;
}