public function truncate(int $maximum) : Text
    {
        return $this->pipe(
            function (string $value) use ($maximum) : string {
                return strlen($value) > $maximum
                    ? substr($value, 0, $maximum)
                    : $value;
            }
        );
    }