View Source Faker.Cannabis (Faker v0.18.0)

Functions for generating Cannabis related data

Summary

Functions

Returns a Cannabis brand string

Returns a Cannabis buzzword string

Returns a Cannabis cannabinoid string

Returns a Cannabis cannabinoid abbreviation string

Returns a Cannabis category string

Returns a Cannabis health benefit string

Returns a Cannabis medical use string

Returns a Cannabis strain string

Returns a Cannabis terpene string

Returns a thc percentage for a cannabis thc

Returns a Cannabis type string

Functions

@spec brand() :: String.t()

Returns a Cannabis brand string

Examples

iex> Faker.Cannabis.En.brand()
"Evolab"
iex> Faker.Cannabis.En.brand()
"CI Wholesale"
iex> Faker.Cannabis.En.brand()
"Muy"
iex> Faker.Cannabis.En.brand()
"Chong's Choice"
@spec buzzword() :: String.t()

Returns a Cannabis buzzword string

Examples

iex> Faker.Cannabis.buzzword()
"toke"
iex> Faker.Cannabis.buzzword()
"cbd"
iex> Faker.Cannabis.buzzword()
"stoned"
iex> Faker.Cannabis.buzzword()
"stoned"
@spec cannabinoid() :: String.t()

Returns a Cannabis cannabinoid string

Examples

iex> Faker.Cannabis.cannabinoid()
"Cannabinol"
iex> Faker.Cannabis.cannabinoid()
"Cannabigerolic Acid"
iex> Faker.Cannabis.cannabinoid()
"Cannabinolic Acid"
iex> Faker.Cannabis.cannabinoid()
"Cannabicyclol"
Link to this function

cannabinoid_abbreviation()

View Source
@spec cannabinoid_abbreviation() :: String.t()

Returns a Cannabis cannabinoid abbreviation string

Examples

iex> Faker.Cannabis.cannabinoid_abbreviation()
"THCa"
iex> Faker.Cannabis.cannabinoid_abbreviation()
"THCv"
iex> Faker.Cannabis.cannabinoid_abbreviation()
"CBC"
iex> Faker.Cannabis.cannabinoid_abbreviation()
"CBG"
@spec category() :: String.t()

Returns a Cannabis category string

Examples

iex> Faker.Cannabis.category()
"flower"
iex> Faker.Cannabis.category()
"medical"
iex> Faker.Cannabis.category()
"seeds & clones"
iex> Faker.Cannabis.category()
"live resin"
@spec health_benefit() :: String.t()

Returns a Cannabis health benefit string

Examples

iex> Faker.Cannabis.health_benefit()
"relieves pain"
iex> Faker.Cannabis.health_benefit()
"inhibits cell growth in tumors/cancer cells"
iex> Faker.Cannabis.health_benefit()
"inhibits cell growth in tumors/cancer cells"
iex> Faker.Cannabis.health_benefit()
"treats fungal infection"
@spec medical_use() :: String.t()

Returns a Cannabis medical use string

Examples

iex> Faker.Cannabis.medical_use()
"analgesic"
iex> Faker.Cannabis.medical_use()
"anti-cancer"
iex> Faker.Cannabis.medical_use()
"anti-cancer"
iex> Faker.Cannabis.medical_use()
"anti-fungal"
@spec strain() :: String.t()

Returns a Cannabis strain string

Examples

iex> Faker.Cannabis.strain()
"Critical Kush"
iex> Faker.Cannabis.strain()
"Blue Dream"
iex> Faker.Cannabis.strain()
"Mr. Nice Guy"
iex> Faker.Cannabis.strain()
"Gorilla Glue"
@spec terpene() :: String.t()

Returns a Cannabis terpene string

Examples

iex> Faker.Cannabis.terpene()
"Camphor"
iex> Faker.Cannabis.terpene()
"Camphene"
iex> Faker.Cannabis.terpene()
"α Pinene"
iex> Faker.Cannabis.terpene()
"Sabinene"
@spec thc() :: String.t()

Returns a thc percentage for a cannabis thc

Examples

iex> Faker.Cannabis.thc()
"18.1%"
iex> Faker.Cannabis.thc()
"30.4%"
iex> Faker.Cannabis.thc()
"28.6%"
iex> Faker.Cannabis.thc()
"40.6%"
@spec type() :: String.t()

Returns a Cannabis type string

Examples

iex> Faker.Cannabis.type()
"hybrid"
iex> Faker.Cannabis.type()
"sativa"
iex> Faker.Cannabis.type()
"hybrid"
iex> Faker.Cannabis.type()
"sativa"