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
/
Literal.js
10 lines
•
277 B
JavaScript
View Raw
1
2
3
4
5
6
7
8
9
10
"use strict"
;
Object
.
defineProperty
(
exports
,
"__esModule"
, {
value
:
true
});
exports
.
literal
=
void
0
;
function
literal
(
...values
) {
return
{
is
:
(
u
) =>
values.
findIndex
(
(
a
) =>
a === u) !== -
1
, }; }
exports
.
literal
= literal;
//# sourceMappingURL=Literal.js.map