count(in:)
Returns the count of integers in self that intersect range.
Declaration
func count<R>(in range: R) -> Int where R : RangeExpression, R.Bound == IntReturns the count of integers in self that intersect range.
func count<R>(in range: R) -> Int where R : RangeExpression, R.Bound == Int