Optional.IsEmpty 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 not present, returns true
, otherwise
false
.
public bool IsEmpty { [Android.Runtime.Register("isEmpty", "()Z", "", ApiSince=33)] get; }
[<get: Android.Runtime.Register("isEmpty", "()Z", "", ApiSince=33)>]
member this.IsEmpty : bool
Property Value
true
if a value is not present, otherwise false
- Attributes
Remarks
If a value is not present, returns true
, otherwise false
.
Added in 11.
Java documentation for java.util.Optional.isEmpty()
.
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.