# CanBeInstantiated

> Returns true if the specified type is instantiatable.

## Definition

* **Type:** Method
* **Namespace:** [Unity.Properties](/engine/6000.7/script-reference/unity/properties.md)
* **Assembly:** UnityEngine.PropertiesModule

## CanBeInstantiated(Type)

Returns `true` if the specified type is instantiatable.

```csharp
public static bool CanBeInstantiated(Type type)
```

### Parameters

**** (\[Type]\(https\://learn.microsoft.com/dotnet/api/system.type)): The type to query.

### Returns

| Type                                                          | Description                                 |
| ------------------------------------------------------------- | ------------------------------------------- |
| [bool](https://learn.microsoft.com/dotnet/api/system.boolean) | `true` if the given type is instantiatable. |

### Remarks

Instantiatable is defined as either having a default or implicit constructor or having a registered instantiation method.

## CanBeInstantiated\<T>()

Returns `true` if type `T` is instantiatable.

```csharp
public static bool CanBeInstantiated<T>()
```

### Returns

| Type                                                          | Description                           |
| ------------------------------------------------------------- | ------------------------------------- |
| [bool](https://learn.microsoft.com/dotnet/api/system.boolean) | `true` if type `T` is instantiatable. |

### Remarks

Instantiatable is defined as either having a default or implicit constructor or having a registered instantiation method.
