フィールド · Flight Number

フィールド · Flight Number · airline.flightNumber. 生成メソッド · 例

airline.flightNumber

生成設定

生成したデータはここに表示されます。

パラメーター & 例

Returns a random flight number. Flight numbers are always 1 to 4 digits long. Sometimes they are used without leading zeros (e.g.: American Airlines flight 425) and sometimes with leading zeros, often with the airline code prepended (e.g.: AA0425).

airline.flightNumber(options?: { length?, addLeadingZeros? })
options
The options to use.
options.length
The number or range of digits to generate. Defaults to { min: 1, max: 4 }.
options.addLeadingZeros
Whether to pad the flight number up to 4 digits with leading zeros. Defaults to false.

例

"260"

テスト環境で合成データを使用してください。

関連ジェネレーター

シナリオを見る