delphirtl • Docs
delphirtl / hasPrototypeMethodFromConstructor
hasPrototypeMethodFromConstructor(
constructorFn
,name
):boolean
Returns true if the named method exists as a function on the constructor’s prototype or on the given instance.
This helper is useful for checking prototype-augmented methods added at runtime.
• constructorFn: Function
• name: string
boolean