MCPcopy
hub / github.com/sanctuary-js/sanctuary / Sum

Function Sum

test/internal/Sum.js:11–14  ·  view source on GitHub ↗
(value)

Source from the content-addressed store, hash-verified

9
10// Sum :: Number -> Sum
11function Sum(value) {
12 if (!(this instanceof Sum)) return new Sum (value);
13 this.value = value;
14}
15
16// sumTypeIdent :: String
17const sumTypeIdent = Sum.prototype['@@type'] = 'sanctuary/Sum';

Callers 3

is.jsFile · 0.85
invert.jsFile · 0.85
Sum.jsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected