Can I make a repression arrow ( -| ) in tikz-cd?

I want to draw a 'repression arrow' that looks like above.
BambOo show how to do this in tikz here: Arrow with blunted-end head in math mode
But how can I do the same thing in tikz-cd?

• Welcome to TeX.SE! Sep 30 at 17:50
• @Mensch Thanks a lot! Sep 30 at 17:51

Yes, use -| to specify the arrow.

\documentclass{article}
\usepackage{tikz-cd}

\begin{document}

\begin{tikzcd}
A \arrow[r,-|] & B
\end{tikzcd}

\end{document}

• Wow, it's amazing. Thanks for your help! Sep 30 at 17:51