Stack Exchange network consists of 183 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.
Yes. The assumption implies that $\mathcal{B}$ is cofinal in the poset $[\kappa]^{<\kappa}$, and hence that this poset has cofinality $\le\kappa$. This implies that $\kappa$ is regular, by this answer.