Method WordWithPrefixExists
WordWithPrefixExists(string)
public bool WordWithPrefixExists(string prefix)
Parameters
prefixstring
Returns
WordWithPrefixExists(Word)
Gets whether a certain prefix leads to a word or is a word itself
public bool WordWithPrefixExists(Word prefix)
Parameters
prefixWordThe prefix to check
Returns
- bool
True if the given prefix leads to a word or is a word
Exceptions
- ArgumentNullException
prefixis null