>&para;</a></h3>
<p>You can also get a field from the collection by title.</p>
<pre><code class="language-TypeScript">import { spfi } from &quot;@pnp/sp&quot;;
import { IField, IFieldInfo } from &quot;@pnp/sp/fields/types&quot;;
import &quot;@pnp/sp/webs&quot;;
import &quot;@pnp/sp/lists&quot;
import &quot;@pnp/sp/fields&quot;;

const sp = spfi(...);
// get the field with the title 'Author' for web
const field: IField = sp.web.fields.getByTitle(&quot;Author&quot;);
// get the field with the title 'Title' fo