All files / src/utils isProblem.js

0% Statements 0/3
100% Branches 0/0
0% Functions 0/1
0% Lines 0/3
1 2 3 4 5 6 7 8               
var Problem = require( '../models/Problem' );
 
function isProblem( x ) {
  return x instanceof Problem;
}
 
module.exports = isProblem;