sub
Subtracts the array from this value.
Example:
10 sub arrayOf(1, 2, 3) // [9, 8, 7]
Since
1.1.0
Subtracts the number from this Array.
Example:
arrayOf(1, 2, 3) sub 10 // [-9, -8, -7]
Since
1.1.0
Subtracts the array from this value.
Example:
10F sub arrayOf(1F, 2F, 3F) // [9F, 8F, 7F]
Since
1.1.0
Subtracts the number from this Array.
Example:
arrayOf(1F, 2F, 3F) sub 10F // [-9F, -8F, -7F]
Since
1.1.0
Subtracts the array from this value.
Example:
10.0 sub arrayOf(1.0, 2.0, 3.0) // [9.0, 8.0, 7.0]
Since
1.1.0
Subtracts the number from this Array.
Example:
arrayOf(1.0, 2.0, 3.0) sub 10.0 // [-9.0, -8.0, -7.0]
Since
1.1.0
Subtracts the array from this value.
Example:
10L sub arrayOf(1L, 2L, 3L) // [9L, 8L, 7L]
Since
1.1.0
Subtracts the number from this Array.
Example:
arrayOf(1L, 2L, 3L) sub 10L // [-9L, -8L, -7L]
Since
1.1.0
Subtracts the iterable from this value.
Example:
10 sub listOf(1, 2, 3) // [9, 8, 7]
Since
1.1.0
Subtracts the number from this Iterable.
Example:
listOf(1, 2, 3) sub 10 // [-9, -8, -7]
Since
1.1.0
Subtracts the iterable from this value.
Example:
10F sub listOf(1F, 2F, 3F) // [9F, 8F, 7F]
Since
1.1.0
Subtracts the number from this Iterable.
Example:
listOf(1F, 2F, 3F) sub 10F // [-9F, -8F, -7F]
Since
1.1.0
Subtracts the iterable from this value.
Example:
10.0 sub listOf(1.0, 2.0, 3.0) // [9.0, 8.0, 7.0]
Since
1.1.0
Subtracts the number from this Iterable.
Example:
listOf(1.0, 2.0, 3.0) sub 10.0 // [-9.0, -8.0, -7.0]
Since
1.1.0
Subtracts the iterable from this value.
Example:
10L sub listOf(1L, 2L, 3L) // [9L, 8L, 7L]
Since
1.1.0
Subtracts the number from this Iterable.
Example:
listOf(1L, 2L, 3L) sub 10L // [-9L, -8L, -7L]
Since
1.1.0