mirror of
https://github.com/BlossomiShymae/clean-cuts.git
synced 2025-12-06 10:10:47 +01:00
Add id and text search
This commit is contained in:
5
composables/useIsNumeric.ts
Normal file
5
composables/useIsNumeric.ts
Normal file
@@ -0,0 +1,5 @@
|
||||
export default function isIsNumeric() {
|
||||
return {
|
||||
isNumeric: (num: any) => (typeof(num) === 'number' || typeof(num) === "string" && num.trim() !== '') && !isNaN(num as number)
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user