# Contains(string)

Method in [VariableStorageBehaviour](https://docs.yarnspinner.dev/2.4/api/csharp/yarn.unity/yarn.unity.variablestoragebehaviour)

## Summary

Returns a boolean value representing if a particular variable is inside the variable storage.

```csharp
public abstract bool Contains(string variableName);
```

## Parameters

| Name                  | Description                            |
| --------------------- | -------------------------------------- |
| `string` variableName | The name of the variable to check for. |

## Returns

`true` if this variable storage contains a value for the variable named `variableName` ; `false` otherwise.
