title: Can I somehow convert Binding<String> to String?
body: <p>I am trying to call a function that looks like this</p>
  <pre><code>func customTextField(placeholder: String, text: Binding&lt;String&gt;) -&gt; some View {
          ZStack(alignment: .leading){
              if text.isEmpty{
                  VStack {
                      Text(placeholder)
                          .font(.system(size: 14))
                          .fontWeight(.regular)
                          .foregroundColor(Color(red: 0.5803921568627451, green: 0.5803921568627451, blue: 0.5803921568627451))
                          .padding()
                      
                      if placeholder == &quot;Your message type here...&quot;{
                          Spacer()
                      }
                  }
              }
              
              TextField(&quot;&quot;, text: text)
                  .font(.system(size: 14))
                  .foregroundColor(.black)
                  .padding()
              
          }
          .frame(height: placeholder == &quot;Your message type here...&quot; ? 170 : 54)
          .background(RoundedRectangle(cornerRadius: 16).stroke(text.isEmpty ? Color.clear : Color(&quot;orange&quot;)))
          .background(Color.white)
          .cornerRadius(16)
      }
  </code></pre>
  <p>But as <code>text</code> is a <code>Binding&lt;String&gt;</code> I can't use <code>.isEmpty()</code> on it. I don't want to create another struct view for it.
  What would be the best approach for this?</p>