Condition
- Parameters
-
func code
- note
Do not destroy conditionfuncs created with
Condition
because this function does not create a new handle (Condition(function foo) == Condition(function foo)
). In the best case it does nothing but in the worst case it affects some internals.- pure
- This function is pure. For the same values passed to it, it will always return the same value.
- return type
conditionfunc
- Source code
native Condition takes code func returns conditionfunc
- Source
- boolexpr.j
- wc3modding.com
- Condition