Avatar
Avatar
omochimetaru
@swift-5.2.5 @swift-5.3.3 func animate( animations: (() -> Void)? = nil, completion: (() -> Void)? = nil ) { print("animations") animations?() print("completion") completion?() } animate { print(1) }
animations completion 1