mkAssert
lib.mkAssert
Docs pulled from | This Revision | 18 days ago
Contribute
Enhance the ecosystem with your expertise! Contribute to fill the gaps in documentation. Your input can make a difference.
Noogle detected
Implementation
The following is the current implementation of this function.
assertion: message: content:
mkIf (if assertion then true else throw "\nFailed assertion: ${message}") content