UNPKG

@sapphire/utilities

Version:
8 lines (6 loc) 199 B
/** * Check whether a value is a primitive * @param input The input to check */ declare function isPrimitive(input: unknown): input is string | bigint | number | boolean; export { isPrimitive };