function getGlobalSingleton() {
  return globalSingleton;
}
Returns an array of registered hooks.

@returns {Array} An array of registered hooks.

@example
```js
Handsontable.hooks.getRegistered();

// Results:
[
...
  'beforeInit',
  'beforeRender',
  'beforeSetRangeEnd',
  'beforeDrawBorders',
  'beforeChange',
...
]
```