sumOf

inline fun sumOf(selector: (Vector2F) -> Double): Double
inline fun sumOf(selector: (Vector2F) -> Int): Int
inline fun sumOf(selector: (Vector2F) -> UInt): UInt
inline fun sumOf(selector: (Vector2F) -> Long): Long
inline fun sumOf(selector: (Vector2F) -> ULong): ULong
inline fun sumOf(selector: (Vector2F) -> Vector2F): Vector2F

Returns the sum of all values produced by selector function applied to each element in the array.