Class SuggestedPhrase

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

Property Summary 

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.

Constructor Summary 

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

Method Summary 

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.

Methods inherited from class Object 

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

Property Details 

exactMatch 

exactMatch: Boolean (read-only)

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


phrase 

phrase: String (read-only)

This method returns the actual phrase as a string value.


Method Details 

getPhrase() 

getPhrase(): String

This method returns the actual phrase as a string value.

Returns:

  • the phrase

isExactMatch() 

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

DID THIS ARTICLE SOLVE YOUR ISSUE?
Let us know so we can improve!