Fixed CI
This commit is contained in:
parent
52ba09c99c
commit
4f50fb07c0
2 changed files with 4 additions and 2 deletions
|
|
@ -189,9 +189,11 @@ is.array = <T = unknown>(value: any, assertion?: (value: T) => void): value is T
|
||||||
if (!Array.isArray(value)) {
|
if (!Array.isArray(value)) {
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!assertion) {
|
if (!assertion) {
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
return value.every(assertion);
|
return value.every(assertion);
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue