Jukka Siivonen
08/24/2020, 9:18 AMdiesieben07
08/24/2020, 9:20 AMFoo
here? A class?Jukka Siivonen
08/24/2020, 9:20 AMdiesieben07
08/24/2020, 9:21 AMparam
either needs an instance parameter or you need to do someFooInstance::myFunction
Jukka Siivonen
08/24/2020, 9:22 AMdiesieben07
08/24/2020, 9:23 AMFoo::myFunction
is of type Foo.() -> Boolean
, it needs the actual instance of Foo
to call the method on.() -> Boolean
you need to pre-bind the receiver: myInstance::myFunction
Jukka Siivonen
08/24/2020, 9:26 AM