Style: surround with curly braces:

```
if (accumulator != nil) {
    return accumulator;
} else if (block(value)) {
     return value;
} else {
     return nil;
}
```