Faker v0.10.0 Faker.Nato View Source

Functions for generating NATO alphabet data

Link to this section Summary

Functions

Returns a random NATO callsign of the form [alpha]-[alpha]-[digit]

Returns a random digit NATO code

Formats a string using the NATO alphabet

Returns a random letter NATO code

Returns the NATO stop code

Link to this section Functions

Returns a random NATO callsign of the form [alpha]-[alpha]-[digit]

Link to this function digit_code_word() View Source
digit_code_word() :: String.t()

Returns a random digit NATO code

Formats a string using the NATO alphabet.

It replaces "#" to a random NATO digit, "?" to random NATO letter and "." to the stop code.

Link to this function letter_code_word() View Source
letter_code_word() :: String.t()

Returns a random letter NATO code

Link to this function stop_code_word() View Source
stop_code_word() :: String.t()

Returns the NATO stop code