Returns true if a method can be found on aggregate filtered with the given predicate, false otherwise.
struct S { long id; int age; string name() { return "name"; } } hasField!(TestStruct, method => method.name == "name"); // returns true hasField!(TestStruct, method => is(method.returnType == int)); // returns false
See Implementation
Returns true if a method can be found on aggregate filtered with the given predicate, false otherwise.