[Overview][Constants][Types][Classes][Procedures and functions][Index] Reference for unit 'Maps' (#lazutils)

TBaseMapIterator.Valid

Indicates if the map for the iterator has been freed.

Declaration

Source position: maps.pp line 154

public function TBaseMapIterator.Valid: Boolean;

Function result

False when the map for the iterator has been freed.

Description

Valid is a Boolean function used to determine if the map for the iterator is still valid. The return value is False when the map class instance has been freed (contains Nil).