diff --git a/Scripts/TypeExtensions.cs b/Scripts/TypeExtensions.cs index 5f79664..ae49c31 100644 --- a/Scripts/TypeExtensions.cs +++ b/Scripts/TypeExtensions.cs @@ -3,6 +3,7 @@ using System.Reflection; public static class TypeExtensions { + /// Determines whether an instance of a specified type can be assigned to a variable of the current type. public static bool IsCastableFrom(this Type to, Type from) { if ( to.IsAssignableFrom ( from ) )