UNPKG
typify-bin
Version:
latest (0.0.7)
0.0.7
0.0.6
0.0.5
0.0.4
0.0.3
0.0.2
0.0.1
Runtime type-checking for JavaScript.
github.com/phadej/typify
phadej/typify-bin
typify-bin
/
example
/
example.js
9 lines
(6 loc)
•
145 B
JavaScript
View Raw
1
2
3
4
5
6
7
8
9
"use strict"
;
// :: boolean -> boolean
function
not
(
b
) {
return
!b; }
console
.
log
(
not
(
true
));
console
.
log
(
not
(
false
));
// console.log(not(1));