• Register SoHL's pure Handlebars helpers on the given Handlebars instance.

    Behavior-preserving extraction of the pure helpers formerly inlined in system init — call it once during setup (production) or before rendering (tests).

    Registers: selectArray, endswith, optionalString, setHas, contains, toJSON, toLowerCase, arrayToString, injurySeverity, array, and the shortcodeRefField (SHORTCODE_REF_PARTIAL), expressionField (EXPRESSION_FIELD_PARTIAL), and sharedWithCohortsField (SHARED_COHORTS_PARTIAL) partials.

    Parameters

    • H: HandlebarsLike

      The Handlebars instance to register onto (Foundry's global, or the handlebars package in tests).

    Returns void