[Overview][Types][Classes] Reference for unit 'uWordList' (#pLua)

TWordList.WordExists

Declaration

Source position: uWordList.pas line 78

public function TWordList.WordExists(

  const WhatWord: AnsiString;

  AllowPartial: Boolean = false

):Boolean;

Arguments

WhatWord

  

Word to check for.

AllowPartial

  

Return if only a partial match is found. For example, if this flag is set to true and you ask for Dog and the word list finds Doggy but not Dog directly then it will return true.

Function result

Returns TRUE if the word exists, or FALSE if it doesn't.

Description

Check to see if a word exists within the word list.