UNPKG

@log4js2/core

Version:

log4js2 is a fast and lightweight logging library that enables logging flexibility within JavaScript/TypeScript applications, similar to Apache's [Log4j2 library](https://logging.apache.org/log4j/2.x/). It can also serve as a drop-in replacement for log4

17 lines (16 loc) 412 B
/** * Gets the function name of the specified function * * @function * @param {Function} func * * @returns {string} */ export declare const getFunctionName: (func: () => any) => string; /** * Determines whether or not the value is an array. Return false is null * * @param {any} value * @returns {boolean} true if non-null array, else false */ export declare const isArray: <T>(value: T) => boolean;