From a1fb498fecb9fda67fff6d9beaeba2f7ccecc66c Mon Sep 17 00:00:00 2001 From: Ubuntu Date: Wed, 8 Jul 2026 03:41:51 +0300 Subject: [PATCH] add validation utility --- cache_add_validator_check.ts | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 cache_add_validator_check.ts diff --git a/cache_add_validator_check.ts b/cache_add_validator_check.ts new file mode 100644 index 000000000..9d512e6e5 --- /dev/null +++ b/cache_add_validator_check.ts @@ -0,0 +1,6 @@ +export function cache_add_validator_check_dfcf(input: unknown): unknown { + if (input === null || input === undefined) { + return undefined; + } + return input; +}