yesNoToBool static method

bool yesNoToBool(
  1. Object val
)

Implementation

static bool yesNoToBool(Object val)
{
  if(val as String  == 'Yes') {
    return true;
  }
  return false;
}