Method Yp.Domain()->map()
- Method
map
void
map(string
map
,function
(string
,string
:void
)fun
)- Description
For each entry in
map
, call the function specified byfun
.fun
will get two arguments, the first being the key, and the second the value.map
is the YP-map to search in. This must be the full map name. eg passwd.byname instead of just passwd.