doc / ch.tutteli.atrium.api.infix.en_GB.creating.feature / MetaFeatureOption / f3

f3

fun <A1, A2, A3, R> f3(f: KFunction3<A1, A2, A3, R>, a1: A1, a2: A2, a3: A3): MetaFeature<R> (source)

Creates a MetaFeature for the given function f which expects 3 arguments.

Notice for assertion function writers: you should use feature and pass a class reference instead of using this convenience function (e.g. feature(MyClass::fun, ...)). This way we are always able to report the function name, even if the subject is not defined which occurs if a previous transformation of the subject could not be carried out.