RAHHH
This commit is contained in:
5
backend/frontend/node_modules/tcomb/lib/isUnion.js
generated
vendored
Normal file
5
backend/frontend/node_modules/tcomb/lib/isUnion.js
generated
vendored
Normal file
@@ -0,0 +1,5 @@
|
||||
var isType = require('./isType');
|
||||
|
||||
module.exports = function isUnion(x) {
|
||||
return isType(x) && ( x.meta.kind === 'union' );
|
||||
};
|
||||
Reference in New Issue
Block a user