Gitiles
Code Review
Sign In
gerrit.nordix.org
/
onap
/
vid
/
1af5b893812574be9cd67eefb2e382f623bcdb3f
/
.
/
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
);
}
}