Preparing search index...
The search index is not available
yatter
yatter
array
cross
Function cross
cross
<
R
,
T
>
(
a
:
R
[]
, b
:
T
[]
)
:
(
R
|
T
)
[]
两个数组做交叉合并, 任何一个数组剩余的元素将拼接在结果数组最后
Returns
Example
cross
([
1
,
2
], [
3
,
4
])
// [1, 3, 2, 4]
Type Parameters
R
T
Parameters
a:
R
[]
b:
T
[]
Returns
(
R
|
T
)
[]
Settings
Member Visibility
Protected
Private
Inherited
External
Theme
OS
Light
Dark
Modules
yatter
array
case
constant
function
index
is
number
object
reg
string
type
url
cross
diff
group
By
intersect
max
min
parallel
sorter
union
unique
Generated using
TypeDoc
两个数组做交叉合并, 任何一个数组剩余的元素将拼接在结果数组最后
Returns
Example