Srd.Content.Armors (srd_5e v0.2.0)

Copy Markdown View Source

SRD armor, looked up by slug.

Summary

Functions

Every armor.

Look up armor by slug, raising if there is none.

Look up armor by slug, returning nil if there is none.

Functions

all()

@spec all() :: [Srd.Content.Armor.t()]

Every armor.

fetch!(slug)

@spec fetch!(String.t()) :: Srd.Content.Armor.t()

Look up armor by slug, raising if there is none.

get(slug)

@spec get(String.t()) :: Srd.Content.Armor.t() | nil

Look up armor by slug, returning nil if there is none.