- useKeys<TKey>(): undefined | TKey[]
Returns undefined | TKey[]
Keys as array from the reactive collection, or undefined if no collection provided.
- useKeys<TKey>(col, eagerOrConfig?): TKey[]
Parameters
- col: ReadonlyVal<{
keys(): Iterable<TKey>;
}> | {
$: ReadonlyVal<{
keys(): Iterable<TKey>;
}>;
} Optional
eagerOrConfig: boolean | ValConfig<TKey[]>
Returns TKey[]
Keys as array from the reactive collection.
- useKeys<TKey>(col?, eagerOrConfig?): undefined | TKey[]
Parameters
Optional
col: ReadonlyVal<{
keys(): Iterable<TKey>;
}> | {
$: ReadonlyVal<{
keys(): Iterable<TKey>;
}>;
}Optional
eagerOrConfig: boolean | ValConfig<TKey[]>
Returns undefined | TKey[]
Keys as array from the reactive collection, or undefined if no collection provided.
Get keys as array from reactive collection.