Optional.IsPresent Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
If a value is present, returns true
, otherwise false
.
public bool IsPresent { [Android.Runtime.Register("isPresent", "()Z", "", ApiSince=24)] get; }
[<get: Android.Runtime.Register("isPresent", "()Z", "", ApiSince=24)>]
member this.IsPresent : bool
Property Value
true
if a value is present, otherwise false
- Attributes
Remarks
If a value is present, returns true
, otherwise false
.
Java documentation for java.util.Optional.isPresent()
.
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.