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