Tutorial by Topics: ion

In contrast to Java's switch, the when statement has no fall-through behavior. This means, that if a branch is matched, the control flow returns after its execution and no break statement is required. If you want to combine the bahaviors for multiple arguments, you can write multiple arguments sep...
add_action( tag, function_to_call, priority, num_of_args ); add_filter( tag, function_to_call, priority, num_of_args ); ParameterExplanation$tag(string) (Required) The name of the action to which the $function is hooked.$function(callable) (Required) Requires a string containing the functio...
Inline expansion is a common optimization in compiled code that prioritized performance over binary size. It lets the compiler replace a function call with the actual body of the function; effectively copy/pasting code from one place to another at compile time. Since the call site is expanded to j...
val (|>) : 'a -> ('a -> 'b) -> 'b val (@@) : ('a -> 'b) -> 'a -> 'b
.css( cssProperty ) // Get the rendered CSS property value .css( [cssProperty , ...] ) // Get values from Array of cssProperties .css( cssProperty, value ) // Set value .css( {cssProperty:value, ...} ) // Set properties and values .css( cssProperty, function ) // Expose the cssProperty to a...
Sessions are derived from dictionaries which means they will work with most common dictionary methods.
strsplit( x split fixed = FALSE perl = FALSE useBytes = FALSE)
An F() expression is a way for Django to use a Python object to refer to the value of model field or annotated column in the database without having to pull the value into Python memory. This allows developers to avoid certain race conditions and also filtering results based on model field values. ...
I18n.t("key") I18n.translate("key") # equivalent to I18n.t("key") I18n.t("key", count: 4) I18n.t("key", param1: "Something", param2: "Else") I18n.t("doesnt_exist", default: "key") # specify a default i...
MD5 and SHA1 are insecure and should be avoided. The examples exist for educational purposes and due to the fact that legacy software may still use these algorithms.
new Intl.NumberFormat() new Intl.NumberFormat('en-US') new Intl.NumberFormat('en-GB',{timeZone: 'UTC'}) ParamaterDetailsweekday"narrow", "short", "long"era"narrow", "short", "long"year"numeric", "2-digit"month&...
=DATEDIF(start_date,end_date,unit) UnitReturns"Y"The number of complete years in the period"M"The number of complete months in the period"D"The number of days in the period"MD"The difference between the days in start_date and end_date. The months and ...
NUnit's Assert.That() form supports the use of constraints as its second parameter. All constraints provided out of the box by NUnit are available through the static classes Is, Has and Does. Constraints can be combined into fluent expressions using the built in methods And, Or and With. Expressio...
Selection sel = window.getSelection(); Selection sel = document.getSelection(); // equivalent to the above Range range = document.createRange(); range.setStart(startNode, startOffset); range.setEnd(endNode, endOffset); ParameterDetailsstartOffsetIf the node is a Text node, it is the numb...

Page 18 of 78