src/Data/DataBuilder.php
public function setBoolean(string $key, $value, bool $ignoredDefaultValue = null)
    {
        $this->set($key, (bool) $value, $ignoredDefaultValue);
        return $this;
    }
public function setBoolean(string $key, $value, bool $ignoredDefaultValue = null)
    {
        $this->set($key, (bool) $value, $ignoredDefaultValue);
        return $this;
    }
Sets a boolean value to the builder.
@param string $key
@param mixed $value
@param bool|null $ignoredDefaultValue
@return $this