Checks whether a piece of freight stays under a height limit on a given trailer deck. Deck heights are typical unloaded figures; measure your own trailer, because tire size and suspension move them by an inch or two. Written by George Green at TruckLeap. MIT licensed.
Checks whether a piece of freight stays under a height limit on a given trailer deck. Deck heights are typical unloaded figures; measure your own trailer, because tire size and suspension move them by an inch or two. Written by George Green at TruckLeap. MIT licensed.
(best-deck freight-in & opts)Highest deck from deck-heights-in that still clears, or nil if none do.
Highest deck from deck-heights-in that still clears, or nil if none do.
(clears? deck
freight-in
&
{:keys [limit-in dunnage-in] :or {limit-in 162 dunnage-in 4}})True when the loaded height stays at or under limit-in (default 162 in., 13 ft 6 in.).
True when the loaded height stays at or under limit-in (default 162 in., 13 ft 6 in.).
Typical unloaded deck heights in inches.
Typical unloaded deck heights in inches.
(loaded-height deck freight-in & {:keys [dunnage-in] :or {dunnage-in 4}})Total height in inches: deck height plus freight height (and any dunnage).
Total height in inches: deck height plus freight height (and any dunnage).
cljdoc builds & hosts documentation for Clojure/Script libraries
| Ctrl+k | Jump to recent docs |
| ← | Move to previous article |
| → | Move to next article |
| Ctrl+/ | Jump to the search field |