function e(e){if(e==null)return;let t=NaN;if(typeof e==`number`)t=e;else if(typeof e==`bigint`)t=Number(e);else if(typeof e==`string`){let n=e.trim();if(!n)return;t=Number.parseInt(n,10)}return Number.isFinite(t)?t:void 0}export{e as t};
