6 kyu

Tricky Kotlin #1: invoke a string

359 of 360ice1000

Description:

This is a series of Kotlin tricks.

In this Kata, you should make this compiles:

"this is a string, invoke it!"("wow, I am the argument!")

Whatever the argument is, just return the argument. There will be only one argument.

The example tests is the same as the final tests.

Fundamentals

Stats:

CreatedSep 9, 2017
PublishedSep 9, 2017
Warriors Trained773
Total Skips94
Total Code Submissions794
Total Times Completed360
Kotlin Completions359
Total Stars6
% of votes with a positive feedback rating91% of 87
Total "Very Satisfied" Votes75
Total "Somewhat Satisfied" Votes9
Total "Not Satisfied" Votes3
Total Rank Assessments9
Average Assessed Rank
6 kyu
Highest Assessed Rank
5 kyu
Lowest Assessed Rank
8 kyu
Ad
Contributors
  • ice1000 Avatar
  • Voile Avatar
Ad