![Stefano Mazzocchi](/assets/img/avatar_default.png)
git-svn-id: http://google-refine.googlecode.com/svn/branches/split-refactor@905 7d457c2a-affb-35e4-300a-418c747d4874
16 lines
348 B
Java
16 lines
348 B
Java
package com.metaweb.gridworks.gel.controls;
|
|
|
|
import com.metaweb.gridworks.expr.ExpressionUtils;
|
|
|
|
public class IsError extends IsTest {
|
|
@Override
|
|
protected String getDescription() {
|
|
return "Returns whether o is an error";
|
|
}
|
|
|
|
@Override
|
|
protected boolean test(Object o) {
|
|
return ExpressionUtils.isError(o);
|
|
}
|
|
}
|