By doing:

```js
view = elm.fullCalendar('getView')
if (view)
  view = view.name;
else
  view = false;
```

Or something like that. You just don't have to call the method twice (not that it's a huge overhead or something)