SpellingSuggestionCollection - AresChat/sb0t GitHub Wiki

+SpellingSuggestionCollection+

+length+

Type: Property (read only) Return: int Description: Get the total number of items in this collection

var word = "worrld";
var suggestions = Spelling.suggest(word);
print("found " + suggestions.length + " suggestions");