# Sandbox.SandboxSystemExtensions.IsBasedOnGenericType

```csharp
static bool IsBasedOnGenericType(System.Type src, System.Type test)
```

Returns if this type is based on a given generic type.

### Parameters

- `src` (`System.Type`): The type to test.
- `test` (`System.Type`): The type to test against. Typically this will be something like ```csharp typeof( MyType<> ) ```

### Returns

`bool`

Declared in [Sandbox.SandboxSystemExtensions](/api/Sandbox.SandboxSystemExtensions).
Assembly: `Sandbox.System`.
