Gitiles
Code Review
Sign In
gerrit.opencord.org
/
xos-gui
/
42abef7b383d634d5c66d81de85d6c55cd4709e5
/
.
/
src
/
app
/
core
/
pagination
/
pagination.filter.ts
blob: 2a561c94520b6e46785069023f9e0115c164768e [
file
] [
log
] [
blame
]
export
function
PaginationFilter
()
{
return
function
(
input
:
any
[],
start
:
string
)
{
if
(!
input
||
!
angular
.
isArray
(
input
))
{
return
input
;
}
let
position
:
number
=
parseInt
(
start
,
10
);
return
input
.
slice
(
position
);
};
}