mirror of
https://github.com/verdaccio/verdaccio.git
synced 2025-01-27 22:59:51 -05:00
30875acc70
Partially implemented (wip) - requires follow up for proper token validation - no test included (still experimental) - types refactoring required, still need alignment with other modules
7 lines
190 B
TypeScript
7 lines
190 B
TypeScript
export function isNil(value: any): boolean {
|
|
return value === null || typeof value === 'undefined';
|
|
}
|
|
|
|
export function isFunction(value): boolean {
|
|
return typeof value === 'function';
|
|
}
|