File tree Expand file tree Collapse file tree
src/main/java/org/scijava/ops/function
templates/main/java/org/scijava/ops/function Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -69,7 +69,7 @@ private FunctionUtils() {
6969 * @throws NullPointerException If {@code type} is {@code null}.
7070 */
7171 public static boolean isFunction (Type type ) {
72- return ALL_FUNCTIONS .containsKey (Types .raw (type ));
72+ return ALL_FUNCTIONS .containsValue (Types .raw (type ));
7373 }
7474
7575 @ SuppressWarnings ({ "unchecked" })
Original file line number Diff line number Diff line change @@ -55,7 +55,7 @@ public final class FunctionUtils {
5555 * @throws NullPointerException If {@code type} is {@code null}.
5656 */
5757 public static boolean isFunction(Type type) {
58- return ALL_FUNCTIONS.containsKey (Types.raw(type));
58+ return ALL_FUNCTIONS.containsValue (Types.raw(type));
5959 }
6060
6161#foreach($arity in [0..$maxArity])
You can’t perform that action at this time.
0 commit comments