UNPKG
@valuer/main
Version:
latest (1.1.2)
next (1.1.2)
1.1.2
1.1.1
1.1.0
1.0.8
1.0.7
1.0.5
1.0.4
1.0.3
1.0.2
1.0.1
1.0.0
0.15.24
0.15.23
0.15.22
0.15.21
0.15.20
0.15.19
0.15.18
0.15.17
0.15.16
0.15.15
0.15.14
0.15.13
0.15.12
0.15.11
0.15.10
0.15.9
0.15.8
0.15.7
0.15.6
0.15.5
0.15.4
0.15.3
0.15.2
0.15.1
0.15.0
0.14.6
0.14.5
0.14.4
0.14.3
0.14.2
0.14.1
0.14.0
0.13.9
0.13.8
0.13.7
0.13.6
0.13.5
0.13.4
0.13.3
0.13.2
0.13.1
0.13.0
0.12.3
0.12.2
0.12.1
0.12.0
0.11.0
0.10.12
0.10.11
0.10.10
0.10.9
0.10.8
0.10.7
0.10.6
0.10.5
0.10.4
0.10.3
Valuer is an advanced declarative value validator
gitlab.com/valuer/main
@valuer/main
/
dist
/
helpers.js
9 lines
(8 loc)
•
281 B
JavaScript
View Raw
1
2
3
4
5
6
7
8
9
"use strict"
;
Object
.
defineProperty
(
exports
,
"__esModule"
, {
value
:
true
});
var
is_1 =
require
(
"@valuer/is"
);
/**
@internal
*/
function
isThunk
(
value
) {
return
is_1.
is
.
_function
(value)
/* additional verifications are probably required */
; }
exports
.
isThunk
= isThunk;