public static bool IsCastableTo <T>(object value) { return(TypeHelpers.IsImplicitCastableTo <T>(value?.GetType(), false)); }
public static bool IsCastableTo(object value, Type type) { return(TypeHelpers.IsImplicitCastableTo(value?.GetType(), type, false)); }