Class SuggestedPhrase

This class represents a suggested phrase. Use getPhrase() method to get access to the phrase.

PropertyDescription
exactMatch: Boolean (read-only)This method returns a flag signaling whether this phrase is a exact match.
phrase: String (read-only)This method returns the actual phrase as a string value.

This class does not have a constructor, so you cannot create it directly.

MethodDescription
getPhrase()This method returns the actual phrase as a string value.
isExactMatch()This method returns a flag signaling whether this phrase is a exact match.

assign, create, create, defineProperties, defineProperty, entries, freeze, fromEntries, getOwnPropertyDescriptor, getOwnPropertyNames, getOwnPropertySymbols, getPrototypeOf, hasOwnProperty, is, isExtensible, isFrozen, isPrototypeOf, isSealed, keys, preventExtensions, propertyIsEnumerable, seal, setPrototypeOf, toLocaleString, toString, valueOf, values

exactMatch: Boolean (read-only)

This method returns a flag signaling whether this phrase is a exact match.


phrase: String (read-only)

This method returns the actual phrase as a string value.


getPhrase(): String

This method returns the actual phrase as a string value.

Returns:

  • the phrase

isExactMatch(): Boolean

This method returns a flag signaling whether this phrase is a exact match.

Returns:

  • true if this phrase is a exact match, false otherwise