supportsInterface

This method returns true if this contract implements the interface defined by interfaceId.

Function

function supportsInterface(
    bytes4 interfaceId
) external view returns (bool);

Parameters

ParameterDescription

interfaceId

An interfaceID.

Return values

ValueDescription

bool _val

Returns true if this contract implements the interface defined by interfaceId.

Last updated