interfaced
interfaced copied to clipboard
Allow checking if a type implements an interface
when compiles(something) may be what you are looking for. Otherwise, define the interface as a concept and use if someType is someConcept