bool => boolean
This commit is contained in:
parent
dedd701b36
commit
522c7482f2
1 changed files with 1 additions and 1 deletions
|
|
@ -136,7 +136,7 @@ namespace is { // tslint:disable-line:no-namespace
|
|||
// tslint:enable:variable-name
|
||||
|
||||
export const nullOrUndefined = (value: any): value is null | undefined => null_(value) || undefined(value);
|
||||
export const numericString = (value: string): bool =>
|
||||
export const numericString = (value: string): boolean =>
|
||||
!Number.isNaN(Number(value));
|
||||
|
||||
export const array = Array.isArray;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue