View Source Faker.Random behaviour (Faker v0.18.0)

Behaviour that defines randomisation in faker.

Summary

Callbacks

Link to this callback

random_between(integer, integer)

View Source
@callback random_between(integer(), integer()) :: integer()
Link to this callback

random_bytes(pos_integer)

View Source
@callback random_bytes(pos_integer()) :: binary()
@callback random_uniform() :: float()