How does the OSPF Stub feature work

So far I known that OSPF Stub prevent the external routes and there isn’t ASBR into STUB areas.
I have seen this: “When configured, the OSPF stub router advertises its own Type 1 LSAs with an infinite metric (16M) for all transit-type adjacencies, while stub network adjacencies continue to be advertised with their normal metrics” How I can check this?
Thanks in advance!

Hi Alfredo,

Did you see this example?