RosettaCodeData/Task/Documentation/Swift/documentation.swift
2016-12-05 23:44:36 +01:00

9 lines
160 B
Swift

/**
Adds two numbers
:param: a an integer.
:param: b another integer.
:returns: the sum of a and b
*/
func add(a: Int, b: Int) -> Int {
return a + b
}