Calculates the midpoint between two pairs of (x,y) points.
Pads a string on both sides with the specified character, if it's shorter than the specified
Removes an element from the DOM.
Converts a RGB color tuple to HSB format.
Converts a RGB color tuple to HSL format.
Returns all elements in an array except for the first one.
Truncates a string up to specified length, respecting whitespace when possible.
Learn how to detect
Attempts to invoke a function with the provided arguments, returning either the result or the caught error object.
Detects whether the page is being viewed on a mobile device or a desktop.
Formats a number using the local number format order.
Converts a string from camelcase.
Indents each line in the provided string.
Checks if the passed value is an object or not.
Checks if the provided value is an object created by the Object constructor.