Enum member isVectorField

Evaluates to true if FuncType is a vector field, i.e. a callable type that takes an ArgType[] array as input and returns a RetType[] array.

enum isVectorField(FuncType, ArgType, RetType) = isBufferVectorField!(FuncType, ArgType, RetType) || __traits(compiles, () { ArgType[] x; FuncType f; RetType[] y = f(x); } );