MCPcopy Create free account
hub / github.com/microsoft/typescript-go / isMutableTupleType

Function isMutableTupleType

internal/checker/checker.go:23401–23403  ·  view source on GitHub ↗
(t *Type)

Source from the content-addressed store, hash-verified

23399}
23400
23401func isMutableTupleType(t *Type) bool {
23402 return isTupleType(t) && !t.TargetTupleType().readonly
23403}
23404
23405func isGenericTupleType(t *Type) bool {
23406 return isTupleType(t) && t.TargetTupleType().combinedFlags&ElementFlagsVariadic != 0

Callers

nothing calls this directly

Calls 2

TargetTupleTypeMethod · 0.80
isTupleTypeFunction · 0.70

Tested by

no test coverage detected