containsValue (NotesItem - JavaScript)

Checks whether a value matches at least one of an item's values.

Defined in

NotesItem

Syntax

containsValue(object:any) : boolean
Parameter Description
object String, Number, or DateTime value
Return value Description
true if the value matches one of the values in the item
false if the value matches no value in the item

Usage

This method does not search a text item to see if it contains a specific word. It is intended to search a text list, number list, or date-time range to see if one of the values in the list or range matches the value.

If the value is a distinguished name, and if the item contains Domino® user names, the distinguished name matches the common version of the hierarchical name.