Skip to content

Zeta611/Extensible

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Extensible

Kotlin standard extension functions for Swift!

This library is inspired by Kotlin standard extension functions and Then.

Example

let widthOrNil = CGRect(origin: .zero, size: CGSize(width: 100, height: 100))
    .also { print("width: \($0.width)") }
    .takeIf { $0.width > 50 }?
    .let { $0.width }
print(widthOrNil ?? "nil")

License

Extensible is available under the MIT license. See the LICENSE file for more info.

About

Kotlin standard extension functions for Swift

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages