Whether reference names the identifier name. Both steps must pass: the case-insensitive
pattern for the name's key matches all of the trimmed reference, and the reference's own key
is the name's key. A look-alike letter that only lower-cases to the same text does not match.
Code that resolves a caller's text to an entity field must use this rule, or a stricter one.
Parameters
reference: string
The identifier as the caller wrote it, without quoting delimiters
name: string
The identifier to compare against, such as an entity field name
Whether
referencenames the identifiername. Both steps must pass: the case-insensitive pattern for the name's key matches all of the trimmed reference, and the reference's own key is the name's key. A look-alike letter that only lower-cases to the same text does not match.Code that resolves a caller's text to an entity field must use this rule, or a stricter one.