feat(pipes): add number (decimal, percent, currency) pipes
This commit is contained in:

committed by
Tobias Bosch

parent
b54e7214f0
commit
3143d188ae
@ -89,6 +89,10 @@ export function isArray(obj): boolean {
|
||||
return Array.isArray(obj);
|
||||
}
|
||||
|
||||
export function isNumber(obj): boolean {
|
||||
return typeof obj === 'number';
|
||||
}
|
||||
|
||||
export function stringify(token): string {
|
||||
if (typeof token === 'string') {
|
||||
return token;
|
||||
|
Reference in New Issue
Block a user