AndRouteSelector

Evaluates a route as a result of the AND operation using two other selectors.

Report a problem

Parameters

first

is a first selector

second

is a second selector

Constructors

Link copied to clipboard
constructor(first: RouteSelector, second: RouteSelector)

Properties

Link copied to clipboard
Link copied to clipboard

Functions

Link copied to clipboard
open suspend override fun evaluate(context: RoutingResolveContext, segmentIndex: Int): RouteSelectorEvaluation

Evaluates this selector against context and a path segment at segmentIndex.

Link copied to clipboard
open override fun subSelectors(): List<RouteSelector>

Provides a list of child route selectors that compose this composite route selector. This is useful for accessing individual components of a composite route, such as in cases of logical "and" or "or" operations.

Link copied to clipboard
open override fun toString(): String