contentContainsWord

fun contentContainsWord(rule: JSONObject, contentList: List<String>, words: List<String>): Boolean

Checks whether content contains words.

Return

returns whether the content contains any of the words

Parameters

rule

the rule to check

contentList

the list of content to check

words

the words to check

Throws

when the JSON can not be parsed.