DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR SWIFT
Type Constraints in Swift Generics
func addition<T: Numeric>(num1: T, num2: T) { ... }
PREVIOUS
NEXT
Tagged:
#Type
#Constraints
#Swift
#Generics
ADD COMMENT
Topic
COMMENT
Name
9+6 =
Submit