Actions
Feature #3265
closed"isdigit' if operator (digital numbers checkup)
Start date:
02/04/2017
Due date:
% Done:
0%
Estimated time:
Operative System:
All
Description
Hello,
It would be nice to add the isdigit operator while someone wanna check the specific parameters for digital numbers and not only just for numbers.
Example Code:
alias test {
if ($1 !isdigit) { echo 4 -a Error: Please specify only digital numbers! | return }
echo -a Text: $1-
}
- Thanks!
Updated by Per Amundsen almost 8 years ago
What is wrong with if (X isnum 0-9) ?
Actions