<!-- This file is auto-generated by the docs:generate-viewhelper-docs command. Do not edit directly -->

# ui:slotFilled

**Reference:** [View Source](https://github.com/jramke/fluid-primitives/tree/main/Classes/ViewHelpers/SlotFilledViewHelper.php)

Check if a slot has content. Returns the content of the slot if it has content, otherwise returns false.

Using this ViewHelper is the equivalent of calling `{f:slot() -> f:trim()}`.

## Example
```html
<f:variable name="content" value="{ui:slotFilled()}" />
<f:if condition="{content}">
    // Slot has content
</f:if>
```

## Arguments

| Name | Type | Description | Required | Default |
|------|------|-------------|----------|--------|
| `name` | string | Name of the slot | No | 'default' |
