I used recordtypeId == '012A0000000rI1T' in a method to query if my Account recordtype "Practice Account" was what I wanted.
I've been reading that this is not a best practice and I should use something like:
Schema.SObjectType.Account.getRecordTypeInfosByName().get('Practice Account').getRecordTypeId()
My question is does getRecordTypeInfosByName() look at the developer name or the record type label? I can't find any info about which it looks at.