Adds the given amount of days to the specified date.
Adds the given amount of months to the specified date.
Adds the given amount of years to the specified date.
This is a utility type that allows you to Autocomplete a string.
Returns the average number from a list of numbers.
Represents a type that is branded with a unique symbol.
Splits an array into chunks of a fixed size.
Clone an object using structuredClone.
Represents a duration of time in days.
Calculates the days between two dates.
Returns the difference of multiple arrays.
Returns the distinct values from a list.
Determines if the given value is falsy.
Returns the first thing in a list. If the value is a string, then it will return the first character.
Represents a duration of time in hours.
Returns true if the given value is within the given range.
Returns the intersection of multiple arrays.
Determines if the given thing is empty.
Compares two things by turning them into strings, and comparing them by their string value.
Compares two things by turning them into strings and lowercasing
them, and comparing the string values. Works exactly like isEqual except
will lowercase both things before comparing.
Determines if a number is even.
Checks if a date is a Friday.
Determines if the date is in the future.
Determines if the date is in the past.
Checks if a date is a Monday.
Returns true if the given value is null or undefined.
Determines if the given thing is not empty.
Compares two things by turning them into strings, and comparing them by their string value.
Compares two things by turning them into strings, trimming and lowercasing
them, and comparing the string values. Works exactly like isEqual except
will lowercase both things before comparing.
Determines if the given text contains any non-whitespace characters.
Determines if a number is odd.
Checks if a date is a Saturday.
Returns true if the given value is not null or undefined.
Checks if a date is a Sunday.
Checks if a date is a Thursday.
Determines if the date is today.
Checks if a date is a Tuesday.
Checks if a date is a Wednesday.
Checks if a date is a weekday.
Checks if a date is a weekend.
Determines if the given text is only comprised of whitespace.
Converts the string to kebab-case by removing punctuation,
trimming extra spaces, converting to lowercase, and joining words with hyphens.
Returns a copy of the given string with all non-alpha characters removed, except for spaces. Letters are preserved regardless of case.
Returns a copy of the given string with all non-alphanumeric characters removed, except for spaces. Letters and digits are preserved regardless of case.
Removes any non-numeric characters. This includes spaces.
This is a utility type that allows you to get the keys from an object or list.
Returns the last thing in a list. If the value is a string, then it will return the last character.
Converts the string to lowercase.
An alias for toLowerCase().
Returns the maximum number from a list of numbers.
Represents a duration of time in milliseconds. You should always use this type when working with durations of time in milliseconds. It helps ensure that you're working with durations of time in milliseconds, and not accidentally using a different unit of time.
Returns the minimum number from a list of numbers.
Represents a duration of time in minutes.
Calculates the months between two dates.
Syntactic sugar for null | undefined.
Represents a non-empty list.
Returns a function that does nothing.
Right now. This is an alias for new Date().
This is a utility type that allows you to get the keys from a list.
Represents when there can be one or many of someting
Represents a thing that might be None (null or undefined).
Converts a number to "1st", "2nd", "3rd", etc.
A utility type that takes an object type and makes the hover overlay more readable for the developer.
Represents any primitive ECMAScript value.
Gives a random number in the given range. The first parameter is inclusive and the second one is exclusive. Therefore, it will work with lists out of the box.
Reverses the given string or list.
Rounds a number to the nearest integer.
Pick a random item from an array.
Represents a duration of time in seconds.
Sleeps for the given duration of milliseconds.
Converts a string to snake_case by replacing spaces and punctuation with underscores.
Uses kebab() internally, replacing hyphens with underscores.
Converts the given parameter into the string equivalent.
Subtracts the given amount of days from the specified date.
Subtracts the given amount of months from the specified date.
Subtracts the given amount of yers from the specified date.
Returns the sum of a list of numbers.
Converts the string to Title Case. This will capitalize the letter of each word that is separated by a space. Underscores are considered spaces. Hyphens are respected.
Today's date at midnight.
Tomorrow's date at midnight.
Trims the whitespace from the beginning and the end. This is an
alias for .trim(). Useful for when you're mapping over lists.
Determines if the given value is truthy.
Returns the union of multiple arrays.
Returns the distinct values from a list.
Converts the string to uppercase.
An alias for toUpperCase().
This is a utility type that allows you to get the values from an object or a list.
Represents a duration of time in weeks.
Represents a duration of time in years.
Calculates the years between two dates. The date must be equal or past for it to count as a full year.
Yesterday's date at midnight.