static internal IComparisonResult?Collection <T>(IEnumerable <T>?collection) { if (collection == null) { return(ComparisonResult.FailureEmptyOperand("Collection does not exist")); } return(null); }
static internal IComparisonResult?Object <T>(T?t) where T : struct { if (t == null) { return(ComparisonResult.FailureEmptyOperand("Value does not exist")); } return(null); }