Stone.js API
    Preparing search index...

    Function getSegmentsConstraints

    • Extracts path segment constraints from route options.

      The returned constraints are freshly built objects (no shared/mutated state), so the caller can safely cache or transform them.

      Parameters

      Returns Partial<RouteSegmentConstraint>[]

      An array of partial segment constraints for the path.