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
/
esm
/
guard
/
Union.js
5 lines
•
153 B
JavaScript
View Raw
1
2
3
4
5
import
{
any
}
from
'@typed/logic'
;
export
const
union
= (
guards
) => ({
is
:
(
u
) =>
any
(
(
g
) =>
g.
is
(u), guards), });
//# sourceMappingURL=Union.js.map