export const isNumber = (
	value: unknown
): {
	is: boolean;
	value: number;
} => {
	const result =
		value != null && typeof value === "number" && Number.isFinite(value);
	return { is: result, value: Number(value) };
};
