All files / src/utils isProblem.ts

100% Statements 4/4
100% Branches 0/0
100% Functions 1/1
100% Lines 4/4
1 2 3 4 5 6  15x 15x   18898x  
import Problem from '../models/Problem';
 
export default function isProblem( x ) {
  return x instanceof Problem;
}