Map.empty Method
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.
Determines whether the map contains any (key, value) pairs.
public:
bool empty();
public bool empty ();
member this.empty : unit -> bool
Public Function empty () As Boolean
Returns
true if the map does not contain any elements; otherwise, false.
Remarks
This method is equivalent to (elements() == 0).