MCPcopy Create free account
hub / github.com/mikro-orm/mikro-orm / isOperator

Method isOperator

packages/core/src/utils/Utils.ts:894–900  ·  view source on GitHub ↗
(key: PropertyKey, includeGroupOperators = true)

Source from the content-addressed store, hash-verified

892 }
893
894 static isOperator(key: PropertyKey, includeGroupOperators = true): boolean {
895 if (!includeGroupOperators) {
896 return key in QueryOperator;
897 }
898
899 return key in GroupOperator || key in QueryOperator;
900 }
901
902 static hasNestedKey(object: unknown, key: string): boolean {
903 if (!object) {

Callers 15

renameFieldsMethod · 0.80
applyJoinedFiltersMethod · 0.80
mergeOnConditionsMethod · 0.80
processMethod · 0.80
shouldInlineMethod · 0.80
inlineChildPayloadMethod · 0.80
shouldAutoJoinMethod · 0.80
autoJoinMethod · 0.80
constructorMethod · 0.80
shouldRenameMethod · 0.80
isPivotJoinMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected