superReal/srbreakpoints

View on GitHub
docs/helper-functions.md

Summary

Maintainability
Test Coverage
# Helper functions

The module provides a pair of helper functions to simplify the work with it:

- `srbreakpoints-is-initialized()` — {Boolean} Check whether the module has already been initialized
- `srbreakpoints-get-breakpoints()` — {Map} Get all breakpoints
- `srbreakpoints-has-breakpoint($breakpoint-name)` — {Boolean} Check whether the breakpoint is available
- `srbreakpoints-get-breakpoint-names()` — {List} Get all breakpoint names 
- `srbreakpoints-get-breakpoint-widths()` — {List} Get all breakpoint widths