این یک پکیج تایپ اسکریپت شامل توابع کمکی است
Helper Functions
thousands_split(x:number)
thousands_split(450000); -->> 45,000
thousands_split(450000,'-'); -->> 45-000
cloneDeep(obj:any)
const A=[{name:'alice'}];
const B=cloneDeep(A);
sort_by_key(array: any[] ,key: string ,order: "asc" | "desc" = "asc")
check_password_strength(x:any)
Phrase Validations
is_IPv4_valid(x:any)
is_empty(x:any)
is_national_code_valid(x:any)
is_only_digits(x:any)
is_percent_valid(x:any)
is_phone_number_valid(x:any)
is_sayad_id_code_valid(x:any)
is_email_valid(x:any)
is_number_valid(x:any)
is_id_valid(x:any)
is_username_valid(x:any)
is_persian_string(x:any,include_digits?:boolean)
is_english_string(x:any,include_digits?:boolean)
Converters
convert_object_to_formData(x:object)