Function ink_env::test::is_contract

source ·
pub fn is_contract<T>(contract: T::AccountId) -> boolwhere
    T: Environment,
    <T as Environment>::AccountId: From<[u8; 32]>,
Expand description

Returns a boolean to indicate whether an account is a contract