@bodil/bdb
System
Light
Dark
Search…
Preparing search index...
PrimitiveIndex
Interface PrimitiveIndex<A, I>
Internal
interface
PrimitiveIndex
<
A
extends
object
,
I
extends
PrimitiveIndexablesOf
<
A
>
>
{
index
:
I
;
keyType
:
A
[
I
]
;
record
:
{
[
K
in
string
]
:
PrimitiveIndex
<
A
,
I
>
}
;
get
name
()
:
I
;
extractKey
(
value
:
A
)
:
A
[
I
]
;
extractKeys
(
value
:
A
)
:
A
[
I
]
[]
;
}
Type Parameters
A
extends
object
I
extends
PrimitiveIndexablesOf
<
A
>
Implements
Index
<
A
>
UnitIndex
<
A
>
Properties
Readonly
index
index
:
I
Readonly
key
Type
keyType
:
A
[
I
]
Readonly
record
record
:
{
[
K
in
string
]
:
PrimitiveIndex
<
A
,
I
>
}
Accessors
name
get
name
()
:
I
Returns
I
Methods
extract
Key
extractKey
(
value
:
A
)
:
A
[
I
]
Parameters
value
:
A
Returns
A
[
I
]
extract
Keys
extractKeys
(
value
:
A
)
:
A
[
I
]
[]
Parameters
value
:
A
Returns
A
[
I
]
[]
Properties
index
key
Type
record
Accessors
name
Methods
extract
Key
extract
Keys
@bodil/bdb - v0.2.1
Loading...