// TODO: Use `UniNodeId` instead
/// Returns a CommsPublicKey from either a emoji id, a public key or node id
Use `UniNodeId` instead
Returns a CommsPublicKey from either a emoji id, a public key or node id
Use ` UniNodeId ` instead Returns a CommsPublicKey from either a emoji id a public key or node id
pub fn parse_emoji_id_or_public_key_or_node_id(key: &str) -> Option<Either<CommsPublicKey, NodeId>> {
    parse_emoji_id_or_public_key(key)
        .map(Either::Left)
        .or_else(|| NodeId::from_hex(key).ok().map(Either::Right))
}
pub fn parse_emoji_id_or_public_key_or_node_id ( key : & str ) -> Option < Either < CommsPublicKey , NodeId > > { parse_emoji_id_or_public_key ( key ) . map ( Either :: Left ) . or_else ( | | NodeId :: from_hex ( key ) . ok ( ) . map ( Either :: Right ) ) }
TODO: Use `UniNodeId` instead
Returns a CommsPublicKey from either a emoji id, a public key or node id
TODO : Use ` UniNodeId ` instead Returns a CommsPublicKey from either a emoji id a public key or node id
key
&str