logo
pub fn is_contract<E>(account: &E::AccountId) -> boolwhere
    E: Environment,
Expand description

Checks whether the specified account is a contract.

Errors

If the returned value cannot be properly decoded.