UNPKG
@typed/io
Version:
latest (1.2.0)
1.2.0
1.1.2
1.1.1
1.1.0
1.0.0
Runtime IO type system
@typed/io
/
cjs
/
guard
/
Union.js
8 lines
•
262 B
JavaScript
View Raw
1
2
3
4
5
6
7
8
"use strict"
;
Object
.
defineProperty
(
exports
,
"__esModule"
, {
value
:
true
});
exports
.
union
=
void
0
;
const
logic_1 =
require
(
"@typed/logic"
);
exports
.
union
=
(
guards
) =>
({
is
:
(
u
) =>
logic_1.
any
(
(
g
) =>
g.
is
(u), guards), });
//# sourceMappingURL=Union.js.map