UNPKG

@sebgroup/frontend-tools

Version:
7 lines (6 loc) 241 B
/** * Verifies if a value is primitive (string, number, boolean) * @param {any} value The value to be tested * @returns {boolean} True if it's primitive, false otherwise */ export declare function isPrimitive(value: any): boolean;