argos/dmp-frontend/src/app/core/services/utilities/type-utils.service.ts

7 lines
170 B
TypeScript

import { Injectable } from '@angular/core';
@Injectable()
export class TypeUtils {
public isString(value: any): value is string { return typeof value === 'string'; }
}