is_full/1 | returns true if the JID is a full JID, false otherwise. |
parse/1 | parse a binary to a {node, server, resource} tuple. |
to_bare/1 | converts JID to a bare JID in binary format. |
is_full(JID::binary()) -> boolean()
returns true if the JID is a full JID, false otherwise.
parse(JID::binary()) -> {binary(), binary(), binary()} | {error, enojid}
parse a binary to a {node, server, resource} tuple.
to_bare(JID::binary()) -> binary()
converts JID to a bare JID in binary format.