matchRow

Matches a single row index

import { matchRow } from "@roku-sdk/flex-grid/compose-h-strategy";
matchRow(row: number): HStrategyMatcher

Description

Matches a single row index.

Parameters

NameTypeDescription
rownumberThe zero-based data row index to match.

Return values

A matcher that accepts only this row.

Example

import { matchRow } from "@roku-sdk/flex-grid/compose-h-strategy";
const matches = matchRow(2);

What’s Next

Did this page help you?