src/Mimp.SeeSharper.Reflection/TypeExtensions.Delegate.cs
/// <summary>
/// Check if <paramref name="type"/> is a <see cref="Delegate"/> with a return type.
/// </summary>
/// <param name="type"></param>
/// <returns></returns>
/// <exception cref="ArgumentNullException"></exception>
Check if  is a  with a return type.
Check if is a with a return type .
public static bool IsFunc(this Type type)
        {
            if (type is null)
                throw new ArgumentNullException(nameof(type));
            return type.GetDelegateInvoke().IsFunc();
        }
public static bool IsFunc ( this Type type ) { if ( type is null ) throw new ArgumentNullException ( nameof ( type ) ) ; return type . GetDelegateInvoke ( ) . IsFunc ( ) ; }
Check if  is a  with a return type.
Check if is a with a return type .
None
None
Type
this
type
None