Condividi tramite


IPredicate.Test(Object) Method

Definition

Evaluates this predicate on the given argument.

[Android.Runtime.Register("test", "(Ljava/lang/Object;)Z", "GetTest_Ljava_lang_Object_Handler:Java.Util.Functions.IPredicateInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null", ApiSince=24)]
public bool Test (Java.Lang.Object? t);
[<Android.Runtime.Register("test", "(Ljava/lang/Object;)Z", "GetTest_Ljava_lang_Object_Handler:Java.Util.Functions.IPredicateInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null", ApiSince=24)>]
abstract member Test : Java.Lang.Object -> bool

Parameters

t
Object

the input argument

Returns

true if the input argument matches the predicate, otherwise false

Attributes

Remarks

Evaluates this predicate on the given argument.

Java documentation for java.util.function.Predicate.test(T).

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to