mirror of
https://github.com/openclaw/openclaw.git
synced 2026-04-10 03:21:57 +02:00
8 lines
210 B
JavaScript
8 lines
210 B
JavaScript
export function isRecord(value) {
|
|
return value !== null && typeof value === "object" && !Array.isArray(value);
|
|
}
|
|
|
|
export function trimString(value) {
|
|
return typeof value === "string" ? value.trim() : "";
|
|
}
|