Generated using TypeDoc
-private input used for opening system window for download files
-Load binary file using system file picker
-loading callback
-Load file using system file picker
-loading callback
-file encoding
-Load image using system file picker
-loading callback
-Save text content into file with specific extensions
-file name
-file content
-file FileTypes. Default value is FileTypes.TXT
-Save image into file
-image name
-image element or path to image
-Generated using TypeDoc
-Returns an iterable of entries in the map.
-Returns an iterable of key, value pairs for every entry in the map.
-Returns an iterable of keys in the map
-Returns an iterable of values in the map
-Generated using TypeDoc
-Generated using TypeDoc
-Generated using TypeDoc
-Generated using TypeDoc
-Generated using TypeDoc
-Generated using TypeDoc
-Generated using TypeDoc
-Generated using TypeDoc
-Generated using TypeDoc
-Generated using TypeDoc
-Generated using TypeDoc
-Generated using TypeDoc
-Generated using TypeDoc
-Generated using TypeDoc
-Generated using TypeDoc
-Generated using TypeDoc
-name of class
-searched context
-collection of found elements
-searched ID
-searched context
-found element or null
-name of link
-searched context
-nodeList of found elements
-elements name
-searched context
-nodeList of found elements
-elements tagName
-searched context
-nodeList of found elements
-document context
-Generated using TypeDoc
-Generated using TypeDoc
-Generated using TypeDoc
-Optional override for formatting stack traces
-Create .stack property on a target object
-Generated using TypeDoc
-Optional override for formatting stack traces
-Create .stack property on a target object
-Generated using TypeDoc
-Optional override for formatting stack traces
-Create .stack property on a target object
-Generated using TypeDoc
-Optional override for formatting stack traces
-Create .stack property on a target object
-Generated using TypeDoc
-Optional override for formatting stack traces
-Create .stack property on a target object
-Generated using TypeDoc
-Optional override for formatting stack traces
-Create .stack property on a target object
-Generated using TypeDoc
-Generated using TypeDoc
-00 04 08 12 - 01 05 09 13 - 02 06 10 14 - 03 07 11 14
-Generated using TypeDoc
-Generated using TypeDoc
-Class is used for holding 2 numeric values and manipulation with them
-the Y value of vector
-the X value of vector
-Generated using TypeDoc
-Generated using TypeDoc
-Generated using TypeDoc
-Generated using TypeDoc
-Generated using TypeDoc
-Generated using TypeDoc
-Class used for parsing countries
-Function try to parse country by name or key or substring and return CountryData or null if cannot parse country
-searched key
-if found than CountryData otherwise null
-Function try to get country by key and return CountryData or null if cannot parse country
-Country key
-if found than CountryData otherwise null
-Generated using TypeDoc
-Generated using TypeDoc
-TODO: add comparator
-Generated using TypeDoc
-Generated using TypeDoc
-Generated using TypeDoc
-Iterate over all elements. If callback returns non falsy result, iteration will breaks and function returns false. - If all callback calls return false, function returns true
-TODO: add limit
-Generated using TypeDoc
-Iterate over all elements. If callback returns non falsy result, iteration will breaks and function returns false. - If all callback calls return false, function returns true
-Generated using TypeDoc
-Iterate over all elements. If callback returns non falsy result, iteration will breaks and function returns false. - If all callback calls return false, function returns true
-Generated using TypeDoc
-Iterate over all elements. If callback returns non falsy result, iteration will breaks and function returns false. - If all callback calls return false, function returns true
-Generated using TypeDoc
-Iterate over all elements. If callback returns non falsy result, iteration will breaks and function returns false. - If all callback calls return false, function returns true
-Generated using TypeDoc
-Iterate over all elements. If callback returns non falsy result, iteration will breaks and function returns false. - If all callback calls return false, function returns true
-Generated using TypeDoc
-Generated using TypeDoc
-Generated using TypeDoc
-Generated using TypeDoc
-Generated using TypeDoc
-Generated using TypeDoc
-TODO: if index is nearer to the end then iterate from the end
-index of element to be removed
-Generated using TypeDoc
-Generated using TypeDoc
-Generated using TypeDoc
-Array should have pointer to last item
-Generated using TypeDoc
-Generated using TypeDoc
-Generated using TypeDoc
-generalized box class, defined by two points with lessThan (lte) and greaterThan (gte) functions
-return true if box contains point
-return true if the box contains the box provided as argument.
-Generated using TypeDoc
-Generated using TypeDoc
-Generated using TypeDoc
-Method parse string and return GenderType
-Generated using TypeDoc
-TODO:
-Generated using TypeDoc
-A graph memory structure
-2D array of input weights
-diagonal - Specifies whether diagonal moves are allowed
-Generated using TypeDoc
-Generated using TypeDoc
-Generated using TypeDoc
-Generated using TypeDoc
-Generated using TypeDoc
-Generated using TypeDoc
-Generated using TypeDoc
-Generated using TypeDoc
-Generated using TypeDoc
-Generated using TypeDoc
-Generated using TypeDoc
-Generated using TypeDoc
-https://www.dropbox.com/sh/be1lrxk0h9dhdx7/AAD8G5xdEBdEeTJOi4LnGXePa?dl=0&preview=InsertionSort.java - Very fast for almost sorted data
-Generated using TypeDoc
-Generated using TypeDoc
-Generated using TypeDoc
-Only useful for fix length integer keys.
-Generated using TypeDoc
-Generated using TypeDoc
-Generated using TypeDoc
-Generated using TypeDoc
-Generated using TypeDoc
-Generated using TypeDoc
-Generated using TypeDoc
-Generated using TypeDoc
-Function returns, add, remove or toggle elements classes
-input element
-class name or data-structures of class names
-flag if class should be toggled false
-boolean if function is used to check class presence otherwise element given as input
-Function crete new element
-ElementManager.createElement("div") =>
; - ElementManager.createElement("div", {id: "ide"}) => ; - ElementManager.createElement("div", {}, "text") =>ElementManager.createElement({name: "div"}) =>
; - ElementManager.createElement({name: "div"}) => ; - ElementManager.createElement({name: "div", attr: {id: "ide"}}) => ; -name of element or object contains all configuration
-map of all element attributes
-element content. Can be string, element or array of elements
-styles that will be applied to the element
-created element
-Function returns height of window
-window height in pixels
-Function returns width of window
-window width in pixels
-Function set, append or returns html content of element
-input element
-html to put in element
-flag if html should be append or replace previous content
-element given as input
-Function returns order of element between siblings
-input element
-index of number
-Function returns object with element position
-input element
-position of element
-Function remove element
-input element
-removed element
-Function returns object with element size
-input element
-size of element
-Function set, append or returns text of element
-input element
-text to put in element
-flag if text should be append or replace previous text
-element given as input
-Generated using TypeDoc
-Generated using TypeDoc
-Generated using TypeDoc
-Generated using TypeDoc
-Generated using TypeDoc
-Generated using TypeDoc
-Generated using TypeDoc
-Generated using TypeDoc
-Generated using TypeDoc
-Generated using TypeDoc
-Generated using TypeDoc
-Generated using TypeDoc
-This raycasting mode will traverse all intersection points and executes a callback for each one.
-This raycasting mode will make the Ray2D stop when it finds the first intersection point.
-This raycasting mode will make the Ray2D traverse through all intersection points and only return the closest one.
-Generated using TypeDoc
-run npm install gtools
import { ArrayUtils } from "gtools";
-
-const min = ArrayUtils.min([1, 2, 3]);
-
-
-
- <!DOCTYPE html>
-<html>
- <head>
- <title>Test</title>
- <script type="text/javascript" src="gtools.web.js"></script>
- </head>
- <body>
- <script type="text/javascript">
-
- const min = G.array.min([1, 2, 3]);
- </script>
- </body>
-</html>
-
-
- TODO - ##Implements - https://github.com/G43riko/JavaUtils/blob/master/GLib2/src/main/java/org/utils/QuadIterator.java - https://github.com/G43riko/JavaUtils/tree/master/GLib2/src/main/java/org/utils/noises - https://github.com/G43riko/JavaUtils/blob/master/GLib2/src/test/java/org/glib2/math/Bresenhams3D.java - https://github.com/G43riko/JavaUtils/blob/master/GLib2/src/main/java/org/utils/GeometryUtils.java
- -Generated using TypeDoc
-Generated using TypeDoc
-Generated using TypeDoc
-Generated using TypeDoc
-Generated using TypeDoc
-Generated using TypeDoc
-Generated using TypeDoc
-Generated using TypeDoc
-Generated using TypeDoc
-Generated using TypeDoc
-Generated using TypeDoc
-Generated using TypeDoc
-TODO:
-Generated using TypeDoc
-Generated using TypeDoc
-Generated using TypeDoc
-Generated using TypeDoc
-Generated using TypeDoc
-Generated using TypeDoc
-Generated using TypeDoc
-Generated using TypeDoc
-Hold data about country
-Generated using TypeDoc
-Generated using TypeDoc
-Generated using TypeDoc
-Generated using TypeDoc
-Iterate over all elements. If callback returns non falsy result, iteration will breaks and function returns false. - If all callback calls return false, function returns true
-function to be executed on each element
-Generated using TypeDoc
-Generated using TypeDoc
-Generated using TypeDoc
-Generated using TypeDoc
-Generated using TypeDoc
-Generated using TypeDoc
-Generated using TypeDoc
-Generated using TypeDoc
-Generated using TypeDoc
-Generated using TypeDoc
-Generated using TypeDoc
-Generated using TypeDoc
-Generated using TypeDoc
-Generated using TypeDoc
-Generated using TypeDoc
-Generated using TypeDoc
-Generated using TypeDoc
-Generated using TypeDoc
-Generated using TypeDoc
-Generated using TypeDoc
-Generated using TypeDoc
-Generated using TypeDoc
-Generated using TypeDoc
-Generated using TypeDoc
-Generated using TypeDoc
-Generated using TypeDoc
-Generated using TypeDoc
-Generated using TypeDoc
-Generated using TypeDoc
-Generated using TypeDoc
-Generated using TypeDoc
-Generated using TypeDoc
-Generated using TypeDoc
-Generated using TypeDoc
-Generated using TypeDoc
-Generated using TypeDoc
-Generated using TypeDoc
-Generated using TypeDoc
-Generated using TypeDoc
-Generated using TypeDoc
-Generated using TypeDoc
-Generated using TypeDoc
-Generated using TypeDoc
-Generated using TypeDoc
-Generated using TypeDoc
-Generated using TypeDoc
-Generated using TypeDoc
-Generated using TypeDoc
-Generated using TypeDoc
-Generated using TypeDoc
-Generated using TypeDoc
-Generated using TypeDoc
-Generated using TypeDoc
-Generated using TypeDoc
-Generated using TypeDoc
-Generated using TypeDoc
-Generated using TypeDoc
-Generated using TypeDoc
-Generated using TypeDoc
-Generated using TypeDoc
-Generated using TypeDoc
-Generated using TypeDoc
-Generated using TypeDoc
-Generated using TypeDoc
-Generated using TypeDoc
-Generated using TypeDoc
-Generated using TypeDoc
-Generated using TypeDoc
-Generated using TypeDoc
-Generated using TypeDoc
-Generated using TypeDoc
-Generated using TypeDoc
-Generated using TypeDoc
-Generated using TypeDoc
-Generated using TypeDoc
-Generated using TypeDoc
-Generated using TypeDoc
-Generated using TypeDoc
-Generated using TypeDoc
-Generated using TypeDoc
-Generated using TypeDoc
-Generated using TypeDoc
-Generated using TypeDoc
-Generated using TypeDoc
-Generated using TypeDoc
-Generated using TypeDoc
-Generated using TypeDoc
-Generated using TypeDoc
-Generated using TypeDoc
-Generated using TypeDoc
-Generated using TypeDoc
-Generated using TypeDoc
-Generated using TypeDoc
-Generated using TypeDoc
-Generated using TypeDoc
-Generated using TypeDoc
-Generated using TypeDoc
-Generated using TypeDoc
-Generated using TypeDoc
-Generated using TypeDoc
-Generated using TypeDoc
-Generated using TypeDoc
-Generated using TypeDoc
-Generated using TypeDoc
-Generated using TypeDoc
-Generated using TypeDoc
-Generated using TypeDoc
-Generated using TypeDoc
-Generated using TypeDoc
-Generated using TypeDoc
-Generated using TypeDoc
-Generated using TypeDoc
-Generated using TypeDoc
-Generated using TypeDoc
-Generated using TypeDoc
-Generated using TypeDoc
-Generated using TypeDoc
-Generated using TypeDoc
-Generated using TypeDoc
-Generated using TypeDoc
-Generated using TypeDoc
-Generated using TypeDoc
-Generated using TypeDoc
-Generated using TypeDoc
-Generated using TypeDoc
-Generated using TypeDoc
-Generated using TypeDoc
-Generated using TypeDoc
-Generated using TypeDoc
-Generated using TypeDoc
-Generated using TypeDoc
-Generated using TypeDoc
-Generated using TypeDoc
-Generated using TypeDoc
-Generated using TypeDoc
-Generated using TypeDoc
-Generated using TypeDoc
-Perform an A* Search on a graph given a start and end node.
-[options.closest] Specifies whether to return the path to the closest node if the target is unreachable. - [options.heuristic] Heuristic function (see astar.heuristics).
-Generated using TypeDoc
-Generated using TypeDoc
-Generated using TypeDoc
-Generated using TypeDoc
-Generated using TypeDoc
-Generated using TypeDoc
-Generated using TypeDoc
-Generated using TypeDoc
-Generated using TypeDoc
-Generated using TypeDoc
-Generated using TypeDoc
-Generated using TypeDoc
-Generated using TypeDoc
-Generated using TypeDoc
-Generated using TypeDoc
-Generated using TypeDoc
-Generated using TypeDoc
-Generated using TypeDoc
-Generated using TypeDoc
-Generated using TypeDoc
-Generated using TypeDoc
-Generated using TypeDoc
-Generated using TypeDoc
-true if the line from (a,b)->(c,d) intersection2dLineLine with (p,q)->(r,s)
-pointPolygon2dCollision
-[[x,y], [x,y],..]
-ignoreBoundary
-inRing
-Generated using TypeDoc
-Generated using TypeDoc
-Generated using TypeDoc
-Generated using TypeDoc
-Generated using TypeDoc
-Determines the point of intersection between a plane defined by a point and a normal vector and a line defined by a point and a direction vector.
-A point on the plane.
-The normal vector of the plane.
-A point on the line.
-The direction vector of the line.
-The point of intersection between the line and the plane, null if the line is parallel to the plane.
-point 1 of vector
-point 2 of vector
-Generated using TypeDoc
-Generated using TypeDoc
-Generated using TypeDoc
-Generated using TypeDoc
-Generated using TypeDoc
-Generated using TypeDoc
-Generated using TypeDoc
-Generated using TypeDoc
-Generated using TypeDoc
-Generated using TypeDoc
-Generated using TypeDoc
-Generated using TypeDoc
-Generated using TypeDoc
-Generated using TypeDoc
-Generated using TypeDoc
-Generated using TypeDoc
-Generated using TypeDoc
-Generated using TypeDoc
-Generated using TypeDoc
-Generated using TypeDoc
-Generated using TypeDoc
-Generated using TypeDoc
-Generated using TypeDoc
-Generated using TypeDoc
-Generated using TypeDoc
-Generated using TypeDoc
-Generated using TypeDoc
-Generated using TypeDoc
-Generated using TypeDoc
-Generated using TypeDoc
-Generated using TypeDoc
-Method check if device support mouse events
-Method check if app is running inside Chrome
-Method check if app is running Chrome OS
-Method check if app is running inside Edge
-Method check if app is running inside Internet explorer
-Method check if app is running inside Internet explorer 11
-Method check if app is running inside Internet explorer 6
-Method check if app is running inside IOS
-Method check if app is running onMessage Mac OS
-Method check if app is running inside Safary
-Method check if device support touch events
-Method check if app is running onMessage Windows
-Generated using TypeDoc
-Function returns average of numeric array given as input
-array of numbers
-average of all numbers in array
-Combine 2 array each other
-Method returns last element from array or null if array is empty. If argument is not array, method returns argument
-not empty array
-last value from array
-Method returns random element from array
-not empty array
-random value from array
-Function join array by delimiter and append prefix and postfix
-not empty array
-character used for join elements in array
-string append at the beginning of final string
-string append at the end of final string
-final string
-Method return copy of array with only distinct elements
-array with duplicate elements
-unique array
-Function return maximal value from numeric array
-array of numbers
-maximal number from array
-Function return minimal value from numeric array
-array of numbers
-minimal number from array
-Return sub array from array
-input array
-start index
-end index
-final array
-Function return total value of all elements in numeric array
-array of numbers
-summary of all numbers in array
-Generated using TypeDoc
-Generated using TypeDoc
-Generated using TypeDoc
-Generated using TypeDoc
-Generated using TypeDoc
-Generated using TypeDoc
-TODO: element remains after deletion onMessage screen
-Generated using TypeDoc
-Generated using TypeDoc
-Generated using TypeDoc
-min value
-max value
-min value
-max value
-Generated using TypeDoc
-Method check if object is in array
-searched object
-array of objects to be compare with searched object
-Method parse cookies
-cooke to parse
-Method parse JSON content with comments
-stringify JSON
-Generated using TypeDoc
-Generated using TypeDoc
-resource url
-Generated using TypeDoc
-Freeze object recursively
-object to be freeze
-data-structures to flat
-path to property
-separator in propertyPath
-true if undefined should be skipped
-Generated using TypeDoc
-Generated using TypeDoc
-Generated using TypeDoc
-Generated using TypeDoc
-Create class by name and data-structures of parameters
-class name
-constructor parameter
-created object
-Generated using TypeDoc
-Generated using TypeDoc
-Picks values from the 'array' that are NOT present in 'values'. - Both 'array' and 'values' are expected to be sorted.
-If return positive value so this number is index of the element - but if it returns negative value than you can use ~result to determine index of new element
-sortedFind(["a", "c"], "a", (a, b) => a.localeCompare(b)) => a - sortedFind(["a", "c"], "b", (a, b) => a.localeCompare(b)) => undefined - sortedFind(["a", "c"], "c", (a, b) => a.localeCompare(b)) => c
-Merges values from the 'array' and 'values' into one sorted array. - Both 'array' and 'values' are expected to be sorted.
-Picks values from the 'array' that are present in 'values'. - Both 'array' and 'values' are expected to be sorted.
-Generated using TypeDoc
-email to validate
-num to validate
-Generated using TypeDoc
-argument
-data to join
-delimiter
-prefix
-postfix
-Returns number of occurrences of substring
-text
-searched substring
-allows math overlapping
-text need to be repeat
-number of iterations
-Generated using TypeDoc
-Generated using TypeDoc
-Generated using TypeDoc
-Generated using TypeDoc
-Generated using TypeDoc
-Generated using TypeDoc
-
private input used for opening system window for upload files
-