Type alias LuaBitwiseOrMethod<TRight, TReturn>

LuaBitwiseOrMethod<TRight, TReturn>: ((right) => TReturn) & LuaExtension<"BitwiseOrMethod">

Calls to methods with this type are translated to left | right, where left is the object with the method. For more information see: https://typescripttolua.github.io/docs/advanced/language-extensions

Type Parameters

  • TRight

    The type of the right-hand-side of the operation.

  • TReturn

    The resulting (return) type of the operation.

Type declaration

    • (right): TReturn
    • Parameters

      • right: TRight

      Returns TReturn

Generated using TypeDoc