Gitiles
Code Review
Sign In
gerrit.nordix.org
/
onap
/
vid
/
7b04c91400593f64cf83c8feae1f4db1db7d69ad
/
.
/
vid-webpack-master
/
src
/
app
/
shared
/
pipes
/
objectToArray
/
objectToArray.pipe.ts
blob: fa201d981e123ad8b9313adcd615945385dd123a [
file
] [
log
] [
blame
]
import
{
PipeTransform
,
Pipe
}
from
'@angular/core'
;
import
*
as
_
from
'lodash'
;
@Pipe
({
name
:
'objecttoarray'
})
export
class
ObjectToArrayPipe
implements
PipeTransform
{
transform
(
obj
)
:
any
{
return
_
.
values
(
obj
);
}
}