Created
November 5, 2022 22:17
-
-
Save cjnevin/47efef7111ed76b7a0d960044c4f46cd to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public func configure<Value>(_ value: Value, _ closure: (Value) -> Void) -> Value { | |
closure(value) | |
return value | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment