(s)
| 3930 | }) |
| 3931 | } |
| 3932 | function Set(s) { |
| 3933 | return null == s |
| 3934 | ? emptySet() |
| 3935 | : isSet(s) && !isOrdered(s) |
| 3936 | ? s |
| 3937 | : emptySet().withMutations(function (o) { |
| 3938 | var i = SetIterable(s) |
| 3939 | ;(assertNotInfinite(i.size), |
| 3940 | i.forEach(function (s) { |
| 3941 | return o.add(s) |
| 3942 | })) |
| 3943 | }) |
| 3944 | } |
| 3945 | function isSet(s) { |
| 3946 | return !(!s || !s[nt]) |
| 3947 | } |
no test coverage detected