Tutorial by Topics: ons

Conditional expressions, involving keywords such as if and else, provide JavaScript programs with the ability to perform different actions depending on a Boolean condition: true or false. This section covers the use of JavaScript conditionals, Boolean logic, and ternary statements. if (conditi...
Functions in Python provide organized, reusable and modular code to perform a set of specific actions. Functions simplify the coding process, prevent redundant logic, and make the code easier to follow. This topic describes the declaration and utilization of functions in Python. Python has many bui...
let regex = /pattern/[flags] let regex = new RegExp('pattern', [flags]) let ismatch = regex.test('text') let results = regex.exec('text') FlagsDetailsgglobal. All matches (don't return on the first match).mmulti-line. Causes ^ & $ to match the begin/end of each line (not only begin/e...
!= - Is not equal to == - Is equal to > - greater than < - less than >= - greater than or equal to <= - less than or equal to is - test if objects are the exact same object is not = test if objects are not the exact same object ParameterDeta...
For many programmers the regex is some sort of magical sword that they throw to solve any kind of text parsing situation. But this tool is nothing magical, and even though it's great at what it does, it's not a full featured programming language (i.e. it is not Turing-complete). What does 'regu...
You can read more about extensions in The Swift Programming Language.
Functions in Go provide organized, reusable code to perform a set of actions. Functions simplify the coding process, prevent redundant logic, and make code easier to follow. This topic describes the declaration and utilization of functions, arguments, parameters, return statements and scopes in Go. ...
ParameterDetailsbillingAgreementAttributesConfiguration object to create the billing agreementbillingPlanBilling plan ID from the query stringbillingPlanAttribsConfiguration object to create the billing planbillingPlanUpdateAttributesConfiguration object for changing a billing plan to an active sta...
Define a function with the function keyword: function f { } Define a function with (): f(){ } Define a function with both the function keyword and (): function f(){ }
Scala has first-class functions. Difference between functions and methods: A function is not a method in Scala: functions are a value, and may be assigned as such. Methods (created using def), on the other hand, must belong to a class, trait or object. Functions are compiled to a class exte...
void session_abort ( void ) int session_cache_expire ([ string $new_cache_expire ] ) void session_commit ( void ) string session_create_id ([ string $prefix ] ) bool session_decode ( string $data ) bool session_destroy ( void ) string session_encode ( void ) int session_gc ( void ) array ...
The built-in collections package provides several specialized, flexible collection types that are both high-performance and provide alternatives to the general collection types of dict, list, tuple and set. The module also defines abstract base classes describing different types of collection functi...
RecyclerView addItemDecoration(RecyclerView.ItemDecoration decoration) RecyclerView addItemDecoration(RecyclerView.ItemDecoration decoration, int index) ParameterDetailsdecorationthe item decoration to add to the RecyclerViewindexthe index in the list of decorations for this RecyclerView. T...
As more secure web services avoid storing passwords in plain text format, languages such as PHP provide various (undecryptable) hash functions to support the more secure industry standard. This topic provides documentation for proper hashing with PHP. string password_hash ( string $password , ...
While everything in Node.js is generally done asynchronously, require() is not one of those things. Since modules in practice only need to be loaded once, it is a blocking operation and should be used properly. Modules are cached after the first time they are loaded. Should you be editing a modul...
transition: <property> <duration> <timing-function> <delay>; @keyframes <identifier> [ [ from | to | <percentage> ] [, from | to | <percentage> ]* block ]* Transition ParameterDetailspropertyEither the CSS property to transition on, or all, which s...
notification name { email = [email protected], [email protected], ... post = http://example.com get = http://example.com next = another-notification-definition timeout = 30m runOnActions = false body = {"text": {{.|json}}} contentType = application/json print = true...

Page 2 of 31