MCPcopy Index your code
hub / github.com/simstudioai/sim / isNonEmpty

Function isNonEmpty

apps/sim/tools/params.ts:30–32  ·  view source on GitHub ↗
(value: unknown)

Source from the content-addressed store, hash-verified

28 * Checks if a value is non-empty (not undefined, null, or empty string)
29 */
30export function isNonEmpty(value: unknown): boolean {
31 return value !== undefined && value !== null && value !== ''
32}
33
34// ============================================================================
35// Tag/Value Parsing Utilities

Callers 4

createLLMToolSchemaFunction · 0.85
deepMergeInputMappingFunction · 0.85
mergeToolParametersFunction · 0.85
filterSchemaForLLMFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected