Equal
loreline.Equal (Class)
Static Members
equal(interpreter: Interpreter, a: Dynamic, b: Dynamic): BoolDeep (recursive) equality check between two values. Supports arrays, StringMap, IntMap and objects with fields.
| Name | Type | Description |
|---|---|---|
interpreter |
Interpreter | Optional interpreter instance |
a |
Dynamic | First value to compare |
b |
Dynamic | Second value to compare |
| Returns | Description |
|---|---|
| Bool | Bool True if values are deeply equal |
objectFieldsEqual(interpreter: Interpreter, a: Any, b: Any): Bool| Name | Type |
|---|---|
interpreter |
Interpreter |
a |
Any |
b |
Any |
| Returns |
|---|
| Bool |
arrayEqual(interpreter: Interpreter, a: Any, b: Any): Bool| Name | Type |
|---|---|
interpreter |
Interpreter |
a |
Any |
b |
Any |
| Returns |
|---|
| Bool |
stringMapEqual(interpreter: Interpreter, a: haxe.ds.StringMap<Any>, b: haxe.ds.StringMap<Any>): Bool| Name | Type |
|---|---|
interpreter |
Interpreter |
a |
haxe.ds.StringMap<Any> |
b |
haxe.ds.StringMap<Any> |
| Returns |
|---|
| Bool |
intMapEqual(interpreter: Interpreter, a: haxe.ds.IntMap<Any>, b: haxe.ds.IntMap<Any>): Bool| Name | Type |
|---|---|
interpreter |
Interpreter |
a |
haxe.ds.IntMap<Any> |
b |
haxe.ds.IntMap<Any> |
| Returns |
|---|
| Bool |