HaxeAPI
  • Version 4.3.6
    • 3.4.7
    • 4.0.5
    • 4.1.3
    • 4.2.5
    • 4.3.6
    • Development
  • Download Haxe
  • Learn Haxe
    • Introduction
    • Manual
    • Code Cookbook
    • API Documentation
    • Videos
    • Try Haxe online
    • Haxelib
  • Connect
    • Github
    • Bug reports
    • Stack Overflow
    • Forums
    • Discord
    • Gitter
    • Blog
    • Facebook
    • #haxe
    • @haxelang
    • @haxe_org
    • Contact
View source

enum Unop

package haxe.macro

import haxe.macro.Expr

@:flatEnum

Available on all platforms

A unary operator.

See also:

  • https://haxe.org/manual/types-numeric-operators.html

Values

OpIncrement

++

OpDecrement

--

OpNot

!

OpNeg

-

OpNegBits

~

OpSpread

...

This documentation is generated for version 4.3.6

© 2025  Haxe Foundation | Contribute to Haxe