src/main/java/seedu/address/ui/autocompleter/AutocompleteCommand.java
public static boolean hasPrefixParameter (String command) throws IllegalArgumentException {
        try {
            return Arrays.asList(commandsWithPrefixes).contains(command);
        } catch (NullPointerException e) {
            return false;
        } catch (IllegalArgumentException ie) {
            throw new IllegalArgumentException();
        }
    }
/**
     * Returns true if {@code command} takes in a {@code Prefix} as an argument
     */
Returns true if  command takes in a  Prefix as an argument
Returns true if command takes in a Prefix as an argument
public static boolean hasPrefixParameter (String command) throws IllegalArgumentException {
        try {
            return Arrays.asList(commandsWithPrefixes).contains(command);
        } catch (NullPointerException e) {
            return false;
        } catch (IllegalArgumentException ie) {
            throw new IllegalArgumentException();
        }
    }
public static boolean hasPrefixParameter ( String command ) throws IllegalArgumentException { try { return Arrays . asList ( commandsWithPrefixes ) . contains ( command ) ; } catch ( NullPointerException e ) { return false ; } catch ( IllegalArgumentException ie ) { throw new IllegalArgumentException ( ) ; } }
Returns true if {@code command} takes in a {@code Prefix} as an argument
Returns true if { @code command } takes in a { @code Prefix } as an argument