Gitiles
Code Review
Sign In
gerrit.opencord.org
/
xos-gui
/
a338531beb36751719f90d15a44b4ac4be8b0f33
/
.
/
src
/
app
/
core
/
table
/
array-to-list.filter.ts
blob: ff5ab38d925e6fecb3854150b6c1c0c1c0429708 [
file
] [
log
] [
blame
]
Matteo Scandolo
710dc15
2017-04-11 13:54:23 -0700
[
diff
] [
blame
]
1
export
function
ArrayToListFilter
()
{
2
return
(
input
:
any
)
=>
{
3
if
(!
angular
.
isArray
(
input
))
{
4
return
input
;
5
}
6
return
input
.
join
(
', '
);
7
};
8
}