EqualFunc

typealias EqualFunc = (<Error class: unknown class>?, <Error class: unknown class>?) -> Boolean

Specifies the type of a function used to test two values for equality. The function should return true if both values are equal and false otherwise.

  • param a a value

  • param b a value to compare with

  • return true if @a = @b; false otherwise