Preparing search index...
The search index is not available
Ibyar/Aurora
Ibyar/Aurora
@ibyar/pipes
KeyValuePipe
Class KeyValuePipe<K, V>
Pipes are used as singleton it will be created if it needed, had no life cycle
no dependency injection applied on filters for now, TODO: add support of dependency injection
Type Parameters
K
V
Implements
PipeTransform
<
StringKey
<
V
>
|
NumberKey
<
V
>
|
Map
<
K
,
V
>
,
KeyValue
<
K
,
V
>
[]
>
Index
Constructors
constructor
Methods
transform
Constructors
constructor
new
KeyValuePipe
<
K
,
V
>
()
:
KeyValuePipe
<
K
,
V
>
Type Parameters
K
V
Returns
KeyValuePipe
<
K
,
V
>
Methods
transform
transform
(
obj
:
StringKey
<
V
>
|
NumberKey
<
V
>
|
Map
<
K
,
V
>
|
V
[]
,
compareFn
?:
CompareFn
<
K
,
V
>
,
)
:
KeyValue
<
K
,
V
>
[]
Parameters
obj
:
StringKey
<
V
>
|
NumberKey
<
V
>
|
Map
<
K
,
V
>
|
V
[]
Optional
compareFn
:
CompareFn
<
K
,
V
>
Returns
KeyValue
<
K
,
V
>
[]
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
On This Page
Constructors
constructor
Methods
transform
Ibyar/Aurora
Loading...
Pipes are used as singleton it will be created if it needed, had no life cycle