getHelper() equivalent in v6 ?

Hello, is there a getHelper() equivalent in codemirror 6?

This is the documentation in CM 5 - CodeMirror 5 User Manual

Things like that are done with language data facets in version 6.