Skip to content

Commit

Permalink
Address comments
Browse files Browse the repository at this point in the history
  • Loading branch information
Jackie-Jiang committed Jul 17, 2024
1 parent f73eb4a commit 96040f0
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -186,6 +186,9 @@ private static void register(String canonicalName, FunctionInfo functionInfo, in

/**
* Returns {@code true} if the given canonical name is registered, {@code false} otherwise.
*
* TODO: Consider adding a way to look up the usage of a function for better error message when there is no matching
* FunctionInfo.
*/
public static boolean contains(String canonicalName) {
return FUNCTION_MAP.containsKey(canonicalName);
Expand Down

0 comments on commit 96040f0

Please sign in to comment.