Question about Physics2D.Linecast

Hi,

im watching a 2D platformer project and we used that code

grounded = Physics2D.Linecast(transform.position, groundCheck.position, 1 << LayerMask.NameToLayer("Ground"));

i need to know what exacly that code mean especaly LayerMask.NameToLayer(“Ground”)

There is a well described documentation that you should learn to use: