pm-controls
Version:
ProModel Controls
14 lines (11 loc) • 337 B
text/typescript
// interface String {
// isNullOrEmpty(item: string): boolean;
// }
// String.prototype.isNullOrEmpty = function(item: string): boolean {
// return !item || 0 === item.length;
// }
export class StringExtensions {
static isNullOrEmpty(item: string): boolean {
return !item || 0 === item.length;
}
}