Skip to content

set-theory/closure

Repository files navigation

Set closure for JavaScript. See docs.

⚠️ Depending on your environment, the code may require regeneratorRuntime to be defined, for instance by importing regenerator-runtime/runtime.

import {singletonUnderUnaryOperator} from '@set-theory/closure';
singletonUnderUnaryOperator( x => x + 1 , 0 ) ; // 0 1 2 3 ...

License Version Tests Dependencies GitHub issues Downloads

Code issues Code maintainability Code coverage (cov) Code technical debt Documentation Package size