@171h/utils
Advanced tools
Comparing version 0.2.5 to 0.3.0
@@ -304,2 +304,8 @@ /** | ||
declare const isBrowser: boolean; | ||
/** | ||
* false: !val null, undefined, '', [], {}, 0, new Date('abc'), val.toString() === Symbol('Empty value') | ||
* @param val | ||
* @returns | ||
*/ | ||
declare function isValid(val: any): boolean; | ||
@@ -311,2 +317,2 @@ declare function assert(condition: boolean, message: string): asserts condition; | ||
export { BusinessHours, BusinessHoursMap, Calendar, CalendarConfig, DD, DateTimeString, DayUnit, DurationUnit, HolidayDetail, Hour, HourUnit, MM, Minute, MinuteMaps, MinuteUnit, MonthUnit, Second, SecondUnit, Time, WeekDay, WeekMinute, WeekUnit, YYYY, YearUnit, addBusinessMinutes, assert, businessHoursMap, businessMinuteMap, businessTimeToDate, calendar24Hours, calendarNight, calendarStd, calendarWeek5, dayUnits, daysNameMaps, daysNames, diffBusinessMinutes, getBusinessTime, getDateFromMatch, getTypeName, holidays, hourUnits, isArray, isArrayOfObject, isBoolean, isBrowser, isDate, isDayUnit, isDef, isFunction, isHourUnit, isMinuteUnit, isMonthUnit, isNull, isNumber, isObject, isRegExp, isSecondUnit, isString, isUndefined, isWeekUnit, isWindow, isYearUnit, minuteUnits, monthUnits, noop, numToTime, numToWeekMinute, secondUnits, timeToNum, toString, units, weekUnits, yearUnits }; | ||
export { BusinessHours, BusinessHoursMap, Calendar, CalendarConfig, DD, DateTimeString, DayUnit, DurationUnit, HolidayDetail, Hour, HourUnit, MM, Minute, MinuteMaps, MinuteUnit, MonthUnit, Second, SecondUnit, Time, WeekDay, WeekMinute, WeekUnit, YYYY, YearUnit, addBusinessMinutes, assert, businessHoursMap, businessMinuteMap, businessTimeToDate, calendar24Hours, calendarNight, calendarStd, calendarWeek5, dayUnits, daysNameMaps, daysNames, diffBusinessMinutes, getBusinessTime, getDateFromMatch, getTypeName, holidays, hourUnits, isArray, isArrayOfObject, isBoolean, isBrowser, isDate, isDayUnit, isDef, isFunction, isHourUnit, isMinuteUnit, isMonthUnit, isNull, isNumber, isObject, isRegExp, isSecondUnit, isString, isUndefined, isValid, isWeekUnit, isWindow, isYearUnit, minuteUnits, monthUnits, noop, numToTime, numToWeekMinute, secondUnits, timeToNum, toString, units, weekUnits, yearUnits }; |
{ | ||
"name": "@171h/utils", | ||
"type": "module", | ||
"version": "0.2.5", | ||
"version": "0.3.0", | ||
"packageManager": "pnpm@8.1.1", | ||
@@ -6,0 +6,0 @@ "description": "", |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
31017
374