MCPcopy
hub / github.com/mongodb/node-mongodb-native / isLteOperator

Function isLteOperator

test/tools/unified-spec-runner/match.ts:106–113  ·  view source on GitHub ↗
(value: unknown)

Source from the content-addressed store, hash-verified

104}
105
106export function isLteOperator(value: unknown): value is LteOperator {
107 return (
108 typeof value === 'object' &&
109 value != null &&
110 '$$lte' in value &&
111 typeof value['$$lte'] === 'number'
112 );
113}
114
115export const SpecialOperatorKeys = [
116 '$$exists',

Callers 2

isSpecialOperatorFunction · 0.85
specialCheckFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected