MCPcopy Create free account
hub / github.com/bytebase/bytebase / isStringFactor

Function isStringFactor

frontend/src/plugins/cel/types/factor.ts:80–82  ·  view source on GitHub ↗
(factor: string)

Source from the content-addressed store, hash-verified

78};
79
80export const isStringFactor = (factor: string): factor is StringFactor => {
81 return StringFactorList.includes(factor as StringFactor);
82};
83
84export const isBooleanFactor = (factor: string): factor is BooleanFactor => {
85 return BooleanFactorList.includes(factor as BooleanFactor);

Callers 4

getDefaultValueFunction · 0.90
resolveEqualityExprFunction · 0.90
resolveCollectionExprFunction · 0.90
validateConditionFunction · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected