MCPcopy Create free account

hub / github.com/bowser-js/bowser / functions

Functions205 in github.com/bowser-js/bowser

↓ 34 callersMethodtest
* Test a UA string for a regexp * @param regex * @returns {boolean} true if the regex matches the UA, false otherwise.
index.d.ts:321
↓ 9 callersMethodmap
* Array::map polyfill * * @param {Array} arr * @param {Function} iterator * @return {Array}
src/utils.js:258
↓ 9 callersMethodparse
* Parse full information about the browser * @returns {Parser.Parser}
index.d.ts:223
↓ 8 callersMethodfind
* Array::find polyfill * * @param {Array} arr * @param {Function} predicate * @return {Array}
src/utils.js:277
↓ 8 callersMethodis
* Is anything? Check if the browser is called "anything", * the OS called "anything" or the platform called "anything" * @param {String}
index.d.ts:183
↓ 8 callersMethodsome
* Check if any of the given values satisfies `.is(anything)` * @param {string[]} anythings * @returns {boolean} true if at least one con
index.d.ts:313
↓ 8 callersFunctiontest
(parser)
src/parser-os.js:46
↓ 7 callersFunctionm
(a)
docs/scripts/prettify/prettify.js:2
↓ 5 callersFunctiong
(b,c,d,e)
docs/scripts/jquery-3.1.1.min.js:2
↓ 4 callersFunctionb
(c,e)
docs/scripts/jquery-3.1.1.min.js:2
↓ 4 callersMethodgetBrowserName
* Get browser's name * @param {Boolean} [toLowerCase] return lower-cased value * @return {String} Browser's name or an empty string
index.d.ts:96
↓ 4 callersMethodgetFirstMatch
* Get first matched item for a string * @param {RegExp} regexp * @param {String} ua * @return {Array|{index: number, input: string}|*|boolean
src/utils.js:10
↓ 4 callersMethodgetParser
* Creates a {@link Parser} instance * * @param {String} UA UserAgent string * @param {Boolean|Object} [skipParsingOrHints=false] Either a boo
src/bowser.js:48
↓ 4 callersMethodgetUA
* Get UserAgent string of current Parser instance * @return {String} User-Agent String of the current <Parser> object * * @public
src/parser.js:151
↓ 4 callersFunctionh
(a)
docs/scripts/jquery-3.1.1.min.js:2
↓ 4 callersFunctionia
(a)
docs/scripts/jquery-3.1.1.min.js:2
↓ 4 callersFunctionma
(a)
docs/scripts/jquery-3.1.1.min.js:2
↓ 4 callersFunctionr
(a,b)
docs/scripts/jquery-3.1.1.min.js:2
↓ 4 callersMethodtest
* Test a UA string for a regexp * @param {RegExp} regex * @return {Boolean}
src/parser.js:160
↓ 3 callersFunctionI
(a,b)
docs/scripts/jquery-3.1.1.min.js:2
↓ 3 callersFunctionMa
(b)
docs/scripts/jquery-3.1.1.min.js:3
↓ 3 callersFunctionc
(a)
docs/scripts/jquery-3.1.1.min.js:4
↓ 3 callersFunctionca
(a,b)
docs/scripts/jquery-3.1.1.min.js:2
↓ 3 callersFunctiond
(a)
docs/scripts/jquery-3.1.1.min.js:3
↓ 3 callersFunctione
(a)
docs/scripts/prettify/prettify.js:2
↓ 3 callersFunctionga
(a,b,d,e)
docs/scripts/jquery-3.1.1.min.js:2
↓ 3 callersMethodgetResult
* Get parsed result * @return {ParsedResult}
index.d.ts:166
↓ 3 callersMethodgetUA
* Get UserAgent string of current Parser instance * @return {String} User-Agent String of the current <Parser> object
index.d.ts:173
↓ 3 callersFunctionk
(a,m)
docs/scripts/prettify/prettify.js:15
↓ 3 callersFunctionna
(a)
docs/scripts/jquery-3.1.1.min.js:2
↓ 3 callersFunctionsa
(a)
docs/scripts/jquery-3.1.1.min.js:2
↓ 3 callersMethodsatisfies
* Check if parsed browser matches certain conditions * * @param {checkTree} checkTree It's one or two layered object, * which can
index.d.ts:272
↓ 3 callersFunctionwa
(a,b,c,d,e)
docs/scripts/jquery-3.1.1.min.js:2
↓ 2 callersFunctionC
(a,m)
docs/scripts/prettify/prettify.js:15
↓ 2 callersFunctionD
(a,m)
docs/scripts/prettify/prettify.js:12
↓ 2 callersFunctionE
(a)
docs/scripts/prettify/prettify.js:15
↓ 2 callersFunctionNa
(a,b,c)
docs/scripts/jquery-3.1.1.min.js:3
↓ 2 callersFunctionWa
(a,b,c,d,e)
docs/scripts/jquery-3.1.1.min.js:3
↓ 2 callersFunctioncb
()
docs/scripts/jquery-3.1.1.min.js:3
↓ 2 callersMethodcompareVersion
* Check if the version is equals the browser version * @param version The string to compare with the browser version * @returns {boolean
index.d.ts:81
↓ 2 callersMethodcompareVersions
* Check if browser version equals the version or equals one of versions * @param {(string|string[])} versionsOrVersion versions strings array or ve
src/parser.js:516
↓ 2 callersFunctione
(a,b)
docs/scripts/jquery-3.1.1.min.js:4
↓ 2 callersFunctionea
(a,b,c,d)
docs/scripts/jquery-3.1.1.min.js:3
↓ 2 callersMethodgetBrandVersion
* Get brand version from Client Hints * @param {string} brandName The brand name to get version for * @return {string|undefined}
index.d.ts:73
↓ 2 callersMethodgetBrowser
* Get parsed browser object * @return {Object} * * @public
src/parser.js:196
↓ 2 callersMethodgetOS
* Get OS * @return {Object} * * @example * this.getOS(); * { * name: 'macOS', * version: '10.11.12' * }
src/parser.js:238
↓ 2 callersMethodgetOSName
* Get OS name * @param {Boolean} [toLowerCase] return lower-cased value * @return {String} name of the OS — macOS, Windows, Linux, etc.
index.d.ts:124
↓ 2 callersMethodgetOSVersion
* Get OS version * @return {String} full version with dots ('10.11.12', '5.6', etc)
index.d.ts:131
↓ 2 callersMethodgetSecondMatch
* Get second matched item for a string * @param regexp * @param {String} ua * @return {Array|{index: number, input: string}|*|boolean|string}
src/utils.js:21
↓ 2 callersFunctionh
(a)
docs/scripts/prettify/prettify.js:2
↓ 2 callersFunctionha
()
docs/scripts/jquery-3.1.1.min.js:2
↓ 2 callersMethodhasBrand
* Check if a brand exists in Client Hints brands array * @param {string} brandName The brand name to check for * @return {boolean}
index.d.ts:66
↓ 2 callersFunctionhideAllButCurrent
()
docs/scripts/collapse.js:1
↓ 2 callersFunctioni
()
docs/scripts/jquery-3.1.1.min.js:2
↓ 2 callersMethodisBrowser
* Check if the browser name equals the passed string * @param {string} browserName The string to compare with the browser name * @param [includi
src/parser.js:500
↓ 2 callersMethodisFirefoxOnIpad
* Check whether a UA is Firefox on iPad: "Macintosh", then later " FxiOS", * then later a "/". Same result as /Macintosh(.*?) FxiOS(.*?)\//.test(ua
src/utils.js:47
↓ 2 callersMethodisOS
* Check if the OS name equals the passed string * @param {string} osName The string to compare with the OS name * @returns {boolean}
src/parser.js:565
↓ 2 callersMethodisPlatform
* Check if the platform type equals the passed string * @param {string} platformType The string to compare with the platform type * @returns {bo
src/parser.js:574
↓ 2 callersFunctionlegacyBabel
(useBuiltIns: false | 'entry')
tsdown.config.ts:35
↓ 2 callersFunctionlowerChunkToEs5
(sourceType: 'script' | 'module' = 'script')
tsdown.config.ts:91
↓ 2 callersFunctionp
(a,b)
docs/scripts/jquery-3.1.1.min.js:2
↓ 2 callersFunctionpa
(a)
docs/scripts/jquery-3.1.1.min.js:2
↓ 2 callersMethodparseBrowser
* Get parsed browser object * @return {Object}
src/parser.js:168
↓ 2 callersMethodparseEngine
* Get parsed platform * @return {{}}
src/parser.js:377
↓ 2 callersMethodparseOS
* Parse OS and save it to this.parsedResult.os * @return {*|{}}
src/parser.js:250
↓ 2 callersMethodparsePlatform
* Get parsed platform * @return {{}}
src/parser.js:326
↓ 2 callersFunctionqa
(a)
docs/scripts/jquery-3.1.1.min.js:2
↓ 2 callersFunctionta
(a,b,c)
docs/scripts/jquery-3.1.1.min.js:2
↓ 2 callersFunctionx
(a,m)
docs/scripts/prettify/prettify.js:7
↓ 2 callersFunctionxa
(a,b,c,d,e,f)
docs/scripts/jquery-3.1.1.min.js:2
↓ 1 callersFunction$
(a,b,c)
docs/scripts/jquery-3.1.1.min.js:3
↓ 1 callersFunctionA
(b,c,d,h)
docs/scripts/jquery-3.1.1.min.js:4
↓ 1 callersFunctionB
(a,m,e,h)
docs/scripts/prettify/prettify.js:7
↓ 1 callersFunctionD
(a,b,c)
docs/scripts/jquery-3.1.1.min.js:2
↓ 1 callersFunctionDa
(a,b)
docs/scripts/jquery-3.1.1.min.js:3
↓ 1 callersFunctionGa
(a,b)
docs/scripts/jquery-3.1.1.min.js:3
↓ 1 callersFunctionHa
(a,b)
docs/scripts/jquery-3.1.1.min.js:3
↓ 1 callersFunctionIa
(a,b,c,d)
docs/scripts/jquery-3.1.1.min.js:3
↓ 1 callersFunctionJ
(a,b)
docs/scripts/jquery-3.1.1.min.js:2
↓ 1 callersFunctionJa
(a,b,c)
docs/scripts/jquery-3.1.1.min.js:3
↓ 1 callersFunctionJb
(a)
docs/scripts/jquery-3.1.1.min.js:4
↓ 1 callersFunctionKb
(a,b,c,d)
docs/scripts/jquery-3.1.1.min.js:4
↓ 1 callersFunctionL
(a)
docs/scripts/jquery-3.1.1.min.js:2
↓ 1 callersFunctionL
(a)
docs/scripts/prettify/prettify.js:2
↓ 1 callersFunctionLb
(a,b)
docs/scripts/jquery-3.1.1.min.js:4
↓ 1 callersFunctionM
(a)
docs/scripts/prettify/prettify.js:6
↓ 1 callersFunctionMb
(a,b,c)
docs/scripts/jquery-3.1.1.min.js:4
↓ 1 callersFunctionNb
(a,b,c,d)
docs/scripts/jquery-3.1.1.min.js:4
↓ 1 callersFunctionO
(a,b,c)
docs/scripts/jquery-3.1.1.min.js:2
↓ 1 callersFunctionOa
(a,b)
docs/scripts/jquery-3.1.1.min.js:3
↓ 1 callersFunctionS
(a,b,c,d,e,f,g)
docs/scripts/jquery-3.1.1.min.js:3
↓ 1 callersFunctionSb
(a)
docs/scripts/jquery-3.1.1.min.js:4
↓ 1 callersFunctionT
(a)
docs/scripts/jquery-3.1.1.min.js:3
↓ 1 callersFunctionUa
(a)
docs/scripts/jquery-3.1.1.min.js:3
↓ 1 callersFunctionVa
(a,b,c)
docs/scripts/jquery-3.1.1.min.js:3
↓ 1 callersFunctionXa
(a,b,c)
docs/scripts/jquery-3.1.1.min.js:3
↓ 1 callersFunctionZ
(a)
docs/scripts/jquery-3.1.1.min.js:3
↓ 1 callersFunctionassembleFromRepo
* Assembles the package from the repo the way `npm pack` would, for when no * tarball is supplied. `npm pack` is not an option here: package.json car
test/types/check.mjs:76
↓ 1 callersMethodassign
* Object::assign polyfill * * @param {Object} obj * @param {Object} ...objs * @return {Object}
src/utils.js:299
↓ 1 callersFunctionb
(a,d)
docs/scripts/prettify/prettify.js:13
next →1–100 of 205, ranked by callers