contains

open fun contains(@Nullable object: Any): Boolean

Check if the JSON array contains a specified object.

Return

Whether the JSON array contains the specified object.

Parameters

object

Object to search for.