Skip to content
On this page

Home > sncf.js > Route

Route class

Signature:

typescript
export declare class Route

Constructors

Constructor

Modifiers

Description

(constructor)(Client, data)

Constructs a new instance of the Route class

Properties

Property

Modifiers

Type

Description

direction_type

string

Return the route direction type

direction

StopArea

Return the route direction

id

string

Return the route id

line

Line

Return the route line

name

string

Return the route name

physical_modes

any[]

Physical mode of the route