apply

open override fun apply(value: JsonSerializable): Boolean(source)

Applies the predicate against a value.

Return

true if the predicate matches the object, otherwise false.

Parameters

value

The value to test this predicate against.


abstract fun apply(jsonValue: JsonValue, ignoreCase: Boolean): Boolean(source)

Matches a json value.

Return

true if the value matches, otherwise false.

Parameters

jsonValue

The json value.

ignoreCase

true to ignore case when checking String values, false to check case.