DarkMatter.Modules.defines_struct-question-mark
You're seeing just the function
defines_struct-question-mark
, go back to DarkMatter.Modules module for more information.
Specs
Determine if a given module contains a defstruct
definition.
Examples
iex> defines_struct?(IO.Stream)
true
iex> defines_struct?(IO)
false
iex> defines_struct?(nil)
** (FunctionClauseError) no function clause matching in DarkMatter.Modules.defines_struct?/1