API & Language Reference
Reference
Concise, searchable syntax, functions, properties and language constructs.
functools.lru_cache
Decorator that wraps a function with a memoizing callable that saves up to the maxsize most recent calls.
Python
gap
Sets the gaps (gutters) between rows and columns in grid and flex layouts.
CSS
git bisect
Uses binary search to find the commit that introduced a bug.
Git Version Control
git cherry-pick
Applies the changes introduced by some existing commits onto the current HEAD.
Git Version Control
git rebase -i
Launches an interactive rebase editor to squash, edit, reword, or reorder commits.
Git Version Control
git worktree
Manages multiple working trees attached to the same repository.
Git Version Control
HEALTHCHECK
Tells Docker how to test a container to check that it is still working.
Docker & Containerization
Http::pool()
Sends concurrent HTTP requests asynchronously and returns pooled responses.
Laravel
IntersectionObserver
Asynchronously observes changes in the intersection of a target element with an ancestor element or viewport.
JavaScript
Intl.DateTimeFormat
Enables language-sensitive date and time formatting.
JavaScript
Intl.NumberFormat
Enables language-sensitive number and currency formatting.
JavaScript
itertools.groupby()
Makes an iterator that returns consecutive keys and groups from the iterable.
Python
json_validate()
Validates if a string contains valid JSON without decoding it in memory (PHP 8.3+).
PHP
LAG()
Provides access to a row at a given physical offset that comes before the current row.
SQL
LEAD()
Provides access to a row at a given physical offset that follows the current row.
SQL
match expression
A control structure introduced in PHP 8.0 that evaluates an expression and returns a value based on strict comparison (===) pattern matching.
PHP
Multi-Stage Build
Uses multiple FROM statements in Dockerfile to keep final production images tiny and secure.
Docker & Containerization
MutationObserver
Provides the ability to watch for changes being made to the DOM tree.
JavaScript
navigator.clipboard.writeText()
Writes specified text string to the system clipboard asynchronously.
JavaScript
NonNullable<Type>
Constructs a type by excluding null and undefined from Type.
TypeScript
NTILE()
Divides ordered partition into specified number of bucket groups.
SQL
Object.assign()
Copies all enumerable own properties from one or more source objects to a target object.
JavaScript
Object.entries()
Returns an array of a given object's own enumerable string-keyed property [key, value] pairs.
JavaScript
Object.freeze()
Freezes an object, preventing new properties from being added and existing properties from being modified or removed.
JavaScript
Omit<Type, Keys>
Constructs a type by picking all properties from Type and then removing Keys.
TypeScript
Parameters<Type>
Constructs a tuple type from the types used in the parameters of a function type Type.
TypeScript
Partial<Type>
Constructs a type with all properties of Type set to optional.
TypeScript
password_hash()
Creates a secure password hash using strong one-way hashing algorithms (Bcrypt/Argon2).
PHP
password_verify()
Verifies that a password matches a hash.
PHP
Pick<Type, Keys>
Constructs a type by picking the set of properties Keys (string literal or union of string literals) from Type.
TypeScript
Promise.allSettled()
Returns a single Promise that fulfills after all of the given promises have either fulfilled or rejected.
JavaScript
Promise.any()
Takes an iterable of promises and returns a single promise that resolves as soon as any of the promises resolves.
JavaScript
Promise.race()
Returns a promise that fulfills or rejects as soon as one of the promises in an iterable fulfills or rejects.
JavaScript
queueMicrotask()
Queues a microtask to be executed at a safe time prior to control returning to the browser's event loop.
JavaScript
RateLimiter::for()
Defines a named rate limiter in AppServiceProvider with dynamic limits based on user tier, IP address, or API token abilities.
Laravel
Readonly<Type>
Constructs a type with all properties of Type set to readonly.
TypeScript
Record<Keys, Type>
Constructs an object type whose property keys are Keys and whose property values are Type. Useful for mapping properties of one type to another.
TypeScript
Required<Type>
Constructs a type consisting of all properties of Type set to required.
TypeScript
ResizeObserver
Reports changes to the dimensions of an Element's content or border box.
JavaScript
ReturnType<Type>
Constructs a type consisting of the return type of function Type.
TypeScript