Body, Mind & Soul — API Reference
    Preparing search index...

    Function hitchTokens

    • Put a set of tokens into one new hitch group. A token already in another group moves into the new group. A remaining member of an old group that is left alone is dissolved. Needs at least two tokens, and the current user must be allowed to hitch all of them.

      Shows a warning and returns null instead of hitching when the set is too small or the user lacks permission.

      Parameters

      • tokenDocs: TokenDocument[]

        The tokens to hitch together.

      Returns Promise<string | null>

      The new group id, or null if nothing was hitched.