ModelMap.filter - multiple declarations

Function ModelMap.filter

Allows using a delegate to filter the keys/values of the mapping into a new mapping.

Prototype

auto filter(
  bool delegate(TKey, TValue) f
);

Parameters

NameDescription
f a delegate which returns true if the passed in key/value matches.

Function ModelMap.filter

Allows using a delegate to filter the values of the mapping.

Prototype

auto filter(
  bool delegate(TValue) f
);

Parameters

NameDescription
f a delegate which returns true if the passed in value matches.