````js
typeof onInit === 'function'
```