Function Region.owns

Queries whether b was allocated from this region.

bool owns(
  const void[] b
) const nothrow @nogc;

Parameters

NameDescription
b an arbitrary memory slice (null is allowed)

Returns

true if b lies entirely within this region.