Function useOperators

  • Register global operators that are available when Options.useGlobalContext is enabled.

    Parameters

    • type: OpType

      Operator type

    • operators: Record<string, Operator>

      Map of operator name to functions

    Returns void