How does the `|` work here, is it always safe?