SMPPEX.Pdu.same-question-mark

You're seeing just the function same-question-mark, go back to SMPPEX.Pdu module for more information.

Specs

same?(t(), t()) :: boolean()

Checks if two Pdus are copies of the same Pdu.

Examples

iex(1)> pdu1 = SMPPEX.Pdu.new(4)
iex(2)> pdu2 = SMPPEX.Pdu.new(4)
iex(3)> SMPPEX.Pdu.same?(pdu1, pdu2)
false
iex(4)> SMPPEX.Pdu.same?(pdu1, pdu1)
true