WeakMap::valid Returns whether the iterator is still on a valid map element &reftitle.description; public boolWeakMap::valid Returns whether the iterator is still on a valid map element. &reftitle.parameters; &no.function.parameters; &reftitle.returnvalues; Returns &true; if the iterator is on a valid element that can be accessed, &false; otherwise.