Attributes.delete-exclamation-mark

You're seeing just the function delete-exclamation-mark, go back to Attributes module for more information.

Deletes attribute by path and raises if not found.

It is the extension of delete/2 that requires the value and the path to be defined:

  • path should exist
  • value should not be nil

Example

Attributes.delete!(MyModule, [:path])