public static bool GetBooleanMandatory(this IXLCell cell) { var value = cell.GetBooleanOrDefault(); if (value.Empty() || value.HasValue == false) { ThrowValueExpectedException <bool>(cell); } return(value.Value); }
public bool?GetBooleanOrDefault() { return(_cell.GetBooleanOrDefault()); }