Master programming syntax, solve interactive challenges & run live code in Syntaxis Explore Arena →
API & Language Reference

Reference

Concise, searchable syntax, functions, properties and language constructs.

<dialog>
Native HTML5 modal and popup dialog element with built-in backdrop support, focus trapping, and Esc key dismissal.
HTML
<picture>
A wrapper element containing zero or more <source> tags and one <img> element to provide responsive and next-gen image formats (AVIF, WebP) with graceful fallbacks.
HTML
<slot>
Placeholder inside a Web Component template that users can fill with their own markup.
HTML
<template>
Holds client-side content that is not rendered when the page loads but can be instantiated at runtime via JS.
HTML
AbortController
A controller object that allows you to abort one or more Web requests or asynchronous tasks on demand via an AbortSignal.
JavaScript
accent-color
Specifies the accent color for user-interface controls like checkboxes, radios, and range inputs.
CSS
all()
Returns True if all elements of the iterable are true.
Python
any()
Returns True if any element of the iterable is true.
Python
array_column()
Returns the values from a single column in the input array.
PHP
array_filter()
Filters elements of an array using a callback function.
PHP
array_map()
Applies the callback to the elements of the given arrays and returns an array containing the results.
PHP
array_reduce()
Iteratively reduce the array to a single value using a callback function.
PHP
Array.prototype.every()
Tests whether all elements in the array pass the test implemented by the provided function.
JavaScript
Array.prototype.filter()
Creates a shallow copy of a portion of a given array, filtered down to just the elements from the given array that pass the test implemented by the provided function.
JavaScript
Array.prototype.find()
Returns the first element in the provided array that satisfies the provided testing function. If no values satisfy the testing function, undefined is returned.
JavaScript
Array.prototype.flatMap()
Returns a new array formed by applying a given callback function to each element of the array, and then flattening the result by one level.
JavaScript
Array.prototype.map()
Creates a new array populated with the results of calling a provided callback function on every element in the calling array.
JavaScript
Array.prototype.reduce()
Executes a user-supplied reducer callback function on each element of the array, in order, passing in the return value from the calculation on the preceding element.
JavaScript
Array.prototype.some()
Tests whether at least one element in the array passes the test implemented by the provided function.
JavaScript
Array.prototype.toSorted()
Copies an array and returns a new sorted array without mutating the original array (ECMAScript 2023).
JavaScript
aspect-ratio
Sets a preferred aspect ratio for the box, maintaining proportional dimensions.
CSS
asyncio.gather()
Runs awaitable objects in the aws sequence concurrently.
Python
Awaited<Type>
Models operations like await in async functions, recursively unwrapping Promises.
TypeScript
Bus::batch()
Dispatches a batch of jobs for parallel background execution with completion callbacks.
Laravel
Cache::flexible()
Stale-While-Revalidate caching pattern introduced in Laravel 11. Serves stale cached values immediately while refreshing data in background.
Laravel
CASE WHEN
Evaluates conditional statements in SQL.
SQL
clamp()
Clamps a value between an upper and lower bound, enabling fluid typography and sizing.
CSS
COALESCE()
Evaluates the arguments in order and returns the current value of the first expression that initially does not evaluate to NULL.
SQL
collect()
Creates a fluent, convenient wrapper for working with arrays of data.
Laravel
color-mix()
Takes two color values and returns the result of mixing them in a given color space by a specified amount.
CSS
crypto.randomUUID()
Generates an RFC 4122 version 4 compliant random UUID string.
JavaScript
dataclasses.dataclass
A decorator that automatically generates special methods such as __init__(), __repr__(), and __eq__() for class definitions.
Python
DB::transaction()
Executes a set of operations within a database transaction, automatically rolling back on exception.
Laravel
DENSE_RANK()
Returns the rank of each row within a partition of a result set, without gaps in the ranking values for tied records.
SQL
display: grid
Establishes a 2-dimensional grid formatting context for direct child elements.
CSS
Eloquent with() Eager Loading
Eager loads specified model relationships in a minimal number of optimized queries, preventing N+1 performance bottlenecks.
Laravel
enumerate()
Returns an enumerate object producing tuples containing a count and values.
Python
Exclude<UnionType, ExcludedMembers>
Constructs a type by excluding from UnionType all union members that are assignable to ExcludedMembers.
TypeScript
EXPLAIN ANALYZE
Executes statement and displays actual run times, memory usage, and planner node costs.
SQL
Extract<Type, Union>
Constructs a type by extracting from Type all union members that are assignable to Union.
TypeScript