mirror of
https://github.com/IBM/fp-go.git
synced 2025-06-17 00:07:49 +02:00
doc: ad doc to SK function
Signed-off-by: Dr. Carsten Leue <carsten.leue@de.ibm.com>
This commit is contained in:
@ -62,6 +62,7 @@ func First[T1, T2 any](t1 T1, _ T2) T1 {
|
||||
}
|
||||
|
||||
// Second returns the second out of two input values
|
||||
// Identical to [SK]
|
||||
func Second[T1, T2 any](_ T1, t2 T2) T2 {
|
||||
return t2
|
||||
}
|
||||
|
Reference in New Issue
Block a user