@ukon1990/js-utilities
Advanced tools
Comparing version 0.0.6 to 0.0.7
import { Match } from '../models/match.model'; | ||
export declare class TextUtil { | ||
static isEmpty(source: string): boolean; | ||
static isEmpty(source: string | any): boolean; | ||
static contains(source: string, target: string): boolean; | ||
@@ -5,0 +5,0 @@ static getIndexOf(source: string, target: string): number; |
{ | ||
"name": "@ukon1990/js-utilities", | ||
"version": "0.0.6", | ||
"version": "0.0.7", | ||
"description": "A light weight package for object and array manipulation. As well as some utilities for matching text.", | ||
@@ -5,0 +5,0 @@ "main": "dist/index.js", |
@@ -5,3 +5,3 @@ import {Match} from '../models/match.model'; | ||
export class TextUtil { | ||
public static isEmpty(source: string): boolean { | ||
public static isEmpty(source: string | any): boolean { | ||
if (!source) return true; | ||
@@ -8,0 +8,0 @@ if (source === null) return true; |
66199