getProperty Method

Find a property by name (case-insensitive). Searches own + inherited.

Note: this resolves the full property list and linear-scans it on every call. For workloads that hit getProperty repeatedly on the same class with different names, a per-class resolved-property map cache could be added on the view. Not done now - measure before optimizing.

getProperty(name: string): SchemaView.Property | undefined

Parameter Type Description
name string  

Returns - SchemaView.Property | undefined

Defined in

Last Updated: 27 May, 2026