Jass documentation Database

JASS Documentation Database REFORGED

Results for the query "Filter" as a "function"

The search keyword must be a single word (no spaces).

Function Filter

Line: 2472
Location: common.j
Constant? no
Type: native
Arguments: code func
Returns: filterfunc


Extra spaces may have been removed from the original file to show the function in a comfortable way.
  1. native Filter takes code func returns filterfunc

Information about Filter

Information contributed by City17
on February 24, 2022, 02:59:57 PM.
returns a new filterfunc that has the result of evaluating func(). func will receive no arguments and must return a boolean: true/false.

Note: filterfunc extends from boolexpr->agent and must be explicitly destroyed with DestroyBoolExpr/DestroyFilter to prevent leaks.
However, most functions from blizzard.j destroy passed boolexpr automatically.
Page loaded in 0.1134 seconds.
Vivir aprendiendo.co - A place for learning stuff, in Spanish   Chaos Realm - The world of Game modders and wc3 addicts   Diplo, a gaming community   Power of Corruption, an altered melee featuring Naga and Demon. Play it now!!!   WC3JASS.com - The JASS Vault + vJASS and Zinc   Jetcraft - A Starcraft II mod   WormTastic Clan (wTc)   Warcraft RESOURCES Reforged: Modelos, mapas, proyectos y mas...