9 lines
140 B
TypeScript
9 lines
140 B
TypeScript
|
/**
|
||
|
* Add numbers.
|
||
|
*
|
||
|
* @implements PredicateR2<number, number>
|
||
|
*/
|
||
|
export function sum(a: number, b: number): number {
|
||
|
return a + b;
|
||
|
}
|