UNPKG

@toreda/log

Version:

Lightweight TypeScript logger with flexible custom transports.

15 lines (14 loc) 322 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.checkId = void 0; function checkId(input) { if (typeof input !== 'string') { return false; } const trimmed = input.trim(); if (!trimmed) { return false; } return true; } exports.checkId = checkId;