mirror of
https://github.com/ONLYOFFICE/sdkjs.git
synced 2026-02-10 10:05:19 +08:00
[all] Fix validation tests, added function isNum
This commit is contained in:
@ -32,6 +32,9 @@
|
||||
|
||||
$(function () {
|
||||
var ws = AscTest.JsApi.GetActiveSheet();
|
||||
function isNum(value) {
|
||||
return !isNaN(parseFloat(value)) && isFinite(value);
|
||||
}
|
||||
|
||||
// ======= TEST HELPERS =======
|
||||
// Must exist & each test must start with it
|
||||
|
||||
Reference in New Issue
Block a user