UNPKG
todomvc
Version:
latest (0.1.1)
0.1.1
0.1.0
> Helping you select an MV\* framework
todomvc
/
examples
/
lavaca_require
/
bower_components
/
mout
/
src
/
lang
/
isKind.js
10 lines
(9 loc)
•
204 B
JavaScript
View Raw
1
2
3
4
5
6
7
8
9
10
define
([
'./kindOf'
],
function
(
kindOf
) {
/** * Check if value is from a specific "kind". */
function
isKind
(
val, kind
){
return
kindOf
(val) === kind; }
return
isKind; });