registerFilter()

Register a filter

You can remove the filter by using the deregisterFilter() method.

registerFilter(name: String, func: Function): Core

* presents a required parameter

  • name * — The name of filter
  • func * — The filter function