UNPKG

raspio

Version:

A raspberry advanced GPIO library for node.js

8 lines (6 loc) 124 B
"use strict"; module.exports = function (total) { return function (step) { return step <= 0 ? total : --step; } };