feat: check if char is num
This commit is contained in:
@@ -660,7 +660,12 @@ export const getSelectors = async (page: Page, coordinates: Coordinates) => {
|
||||
return selector;
|
||||
}
|
||||
|
||||
// isCharacterNumber
|
||||
function isCharacterNumber(char: string) {
|
||||
return char.length === 1 && char.match(/[0-9]/);
|
||||
}
|
||||
|
||||
|
||||
};
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user