MCPcopy Create free account
hub / github.com/NativeScript/NativeScript / _isEvent

Function _isEvent

packages/core/ui/core/view/view-common.ts:534–536  ·  view source on GitHub ↗
(name: string)

Source from the content-addressed store, hash-verified

532 }
533
534 private _isEvent(name: string): boolean {
535 return this.constructor && `${name}Event` in this.constructor;
536 }
537
538 private _disconnectGestureObservers(type: GestureTypes, callback?: (data: EventData) => void, thisArg?: any): void {
539 // Largely mirrors the implementation of Observable.innerRemoveEventListener().

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected