MCPcopy Create free account
hub / github.com/apache/fory / isAny

Method isAny

javascript/packages/core/lib/gen/map.ts:362–371  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

360 }
361
362 private isAny() {
363 const keyTypeId = this.typeInfo.options?.key!.typeId;
364 const valueTypeId = this.typeInfo.options?.value!.typeId;
365 return (
366 keyTypeId === TypeId.UNKNOWN
367 || valueTypeId === TypeId.UNKNOWN
368 || !TypeId.isBuiltin(keyTypeId!)
369 || !TypeId.isBuiltin(valueTypeId!)
370 );
371 }
372
373 private writeSpecificType(accessor: string) {
374 const k = this.scope.uniqueName("k");

Callers 4

writeMethod · 0.95
readMethod · 0.95
writeFunction · 0.80
readFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected