Preparing search index...
The search index is not available
yatter
yatter
array
ensureArray
Function ensureArray
ensure
Array
<
T
>
(
input
?:
OneOrMore
<
T
>
)
:
T
[]
尝试将第一个参数转化为数组,如果已经是数组了,直接返回
Returns
Type Parameters
T
Parameters
Optional
input:
OneOrMore
<
T
>
需要尝试包装数组的参数
Returns
T
[]
Settings
Member Visibility
Protected
Private
Inherited
External
Theme
OS
Light
Dark
Modules
yatter
array
case
constant
css
function
index
is
net
number
object
reg
string
type
url
cross
diff
ensure
Array
group
By
intersect
max
min
parallel
sorter
union
unique
Generated using
TypeDoc
尝试将第一个参数转化为数组,如果已经是数组了,直接返回
Returns