public bool IsValueTypeOfTest <T>(T value) { bool result = TypeTestingUtility.IsValueTypeOf <T>(value); return(result); // TODO: add assertions to method TypeTestingUtilityTests.IsValueTypeOfTest(!!0) }
/// <summary> /// Checks if the <paramref name="value"/> type is a value type. /// </summary> /// <typeparam name="T">The type to test.</typeparam> /// <param name="value">The <typeparamref name="T"/> to check.</param> /// <returns> /// <see langword="true"/> if the <paramref name="value"/> is a value type; otherwise, <see langword="false"/>. /// </returns> public static Boolean IsValueTypeOf <T>([CanBeNull] this T value) { return(TypeTestingUtility.IsValueTypeOf(value)); }