Skip to content

Commit c148968

Browse files
committed
Adding ts file
1 parent ba4c2e1 commit c148968

File tree

1 file changed

+19
-0
lines changed

1 file changed

+19
-0
lines changed

index.d.ts

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
declare module "conditional-helpers" {
2+
export const isArray: (value: any) => boolean;
3+
export const isString: (value: any) => boolean;
4+
export const isFunction: (value: any) => boolean;
5+
export const isObject: (value: any) => boolean;
6+
export const hasLength: (arg: any) => boolean;
7+
export const isBoolean: (value: any) => boolean;
8+
export const isDate: (value: any) => boolean;
9+
export const isNumber: (value: any) => boolean;
10+
export const isObjectEmpty: (value: any) => boolean;
11+
export const isStringHasLength: (value: any) => boolean;
12+
export const isStringEmpty: (value: any) => boolean;
13+
export const isArrayHasLength: (value: any) => boolean;
14+
export const isArrayEmpty: (value: any) => boolean;
15+
export const isObjectHasProps: (value: any) => boolean;
16+
export const isBooleanTruthy: (value: any) => boolean;
17+
export const isBooleanFalsey: (value: any) => boolean;
18+
export const isHTML: (value: any) => boolean;
19+
}

0 commit comments

Comments
 (0)