UNPKG

sussy-util

Version:
8 lines (7 loc) 285 B
/** * Returns true if a value exists, false if empty. Works with deeply nested values using object paths. * @param {any} a - any * @returns A function that takes a parameter and returns a boolean. */ declare const hasValue: <T = unknown>(a: T) => boolean; export default hasValue;