contains

open fun contains(@NonNull jsonValue: JsonValue): Boolean

Tests whether this List contains the specified JSON value.

Return

true if the list contains the value, otherwise false.

Parameters

jsonValue

the object to search for.