mirror of
https://github.com/Chocobozzz/PeerTube.git
synced 2025-10-03 17:59:37 +02:00
14 lines
247 B
TypeScript
14 lines
247 B
TypeScript
function exists (value) {
|
|
return value !== undefined && value !== null
|
|
}
|
|
|
|
function isArray (value) {
|
|
return Array.isArray(value)
|
|
}
|
|
|
|
// ---------------------------------------------------------------------------
|
|
|
|
export {
|
|
exists,
|
|
isArray
|
|
}
|