Is there a way to detect which event is triggered, like example below:

```
$("#some_element_id").on('blur keyup', function() {
     // if event is blur do something only for blur

     // do something for both events
});

```