AngularJS Service to check if a word matches our bad words list.
Methods
(static) checkWord(str) → {boolean}
Check if the word matches anything in the badWordList
Parameters:
Name | Type | Description |
---|---|---|
str |
string
|
Returns:
- Type:
-
boolean