Skip to content
On this page

Home > sncf.js > Step

Step class

Signature:

typescript
export declare class Step

Constructors

Constructor

Modifiers

Description

(constructor)(Client, data)

Constructs a new instance of the Step class

Properties

Property

Modifiers

Type

Description

arrival_date_time

Date

Return the step arrival date time

co2_emission

Co2Emission

departure_date_time

Date

Return the step departure date time

duration

number

Return the step duration

from

StopArea

Return the step from if exist

id

string

Return the step id

is_transfer

boolean

Return boolean if the step is a transfer

stops

StopStep[]

Return the step stops if exist

to

StopArea

Return the step to if exist

type

string

Return the step type