Please enable JavaScript
isCustom() method from Schema.DescribeFieldResult can be used to find whether the field custom or standard in Salesforce using Apex. Blog Post: https://www.infallibletechie.com/2023/09/how-to-find-all-custom-fields-in-an-salesforce-object.html