We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
List of some methods that could be transformed.
On List:
list.first
list.firstOrNull()
list.last
list.lastOrNull()
list.count
list.size
list.isEmpty
list.isEmpty()
list.index(of: a)
list.indexOf(a)
list.append(element)
list.add(element)
list.remove(at: index)
list.removeAt(index)
list.sorted(by: lambda)
sortedWith(comparator = Comparator(lambda))
list.joined(separator: joiner)
elements. joinToString(separator = joiner)
On String:
string.count
string.length
string.uppercased()
string.toUpperCase()
string.lowercased()
string.toLowerCase()
The text was updated successfully, but these errors were encountered:
Check #14 also
Sorry, something went wrong.
#14 #34 Added very basic version of Foundation transformer
8b94a81
Work started with 8b94a81 but still WIP
No branches or pull requests
List of some methods that could be transformed.
On List:
list.first
-->list.firstOrNull()
list.last
-->list.lastOrNull()
list.count
-->list.size
list.isEmpty
-->list.isEmpty()
list.index(of: a)
-->list.indexOf(a)
list.append(element)
-->list.add(element)
list.remove(at: index)
-->list.removeAt(index)
list.sorted(by: lambda)
-->sortedWith(comparator = Comparator(lambda))
list.joined(separator: joiner)
-->elements. joinToString(separator = joiner)
On String:
string.count
-->string.length
string.uppercased()
-->string.toUpperCase()
string.lowercased()
-->string.toLowerCase()
The text was updated successfully, but these errors were encountered: