Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


IsContainer(Type)

Returns true if the given type can be treated as a container. i.e. not primitive, pointer, enum or string.
Read time 1 minuteLast updated 12 days ago

Definition

  • Type: Method
  • Namespace: Unity.Properties
  • Assembly: UnityEngine.PropertiesModule
public static bool IsContainer(Type type)

Parameters

type

The type to test.

Returns

Type

Description

bool
true
if the given type is a container type;
false
otherwise.