Skip to content

Commit ba5d958

Browse files
committed
Third Section Snippet Code: Chapter 8
1 parent ca73033 commit ba5d958

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

Chapter08/NoinlineFunction.kt

+8
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
/*
2+
3+
inline fun operate(a: Int, b:Int, noinline operation: (Int, Int) -> Int): Int{
4+
5+
return operation(a,b)
6+
7+
}
8+
*/

0 commit comments

Comments
 (0)