Application.spec
You're seeing just the function
spec
, go back to Application module for more information.
Specs
spec(app()) :: [{application_key(), value()}] | nil
Returns the spec for app
.
The following keys are returned:
:description
:id
:vsn
:modules
:maxP
:maxT
:registered
:included_applications
:applications
:mod
:start_phases
Note the environment is not returned as it can be accessed via
fetch_env/2
. Returns nil
if the application is not loaded.
Specs
spec(app(), application_key()) :: value() | nil
Returns the value for key
in app
's specification.
See spec/1
for the supported keys. If the given
specification parameter does not exist, this function
will raise. Returns nil
if the application is not loaded.