literal Domain
The literal domain returns caller-provided values directly and does not invoke faker.
Faker Documentation
Methods
literal.value
Return the literal value provided by the caller.
- Canonical:
awd.domain.literal.value - Faker docs: https://anywaydata.com/docs/category/generating-data
| Arg | Type | Required | Description |
|---|---|---|---|
value | string|number|boolean | yes | Literal value to return. |
Examples:
literal.value("sample")
literal.value(value="sample")
Example return values:
"sample"