@japofc/baileys - v2.4.7
GitHub
npm
Preparing search index...
countOccurrences
Variable countOccurrences
Const
countOccurrences
:
(
haystack
?:
string
,
needle
?:
string
)
=>
number
Count non-overlapping occurrences of
needle
in
haystack
.
Type Declaration
(
haystack
?:
string
,
needle
?:
string
)
:
number
Parameters
Optional
haystack
:
string
Optional
needle
:
string
Returns
number
Settings
Member Visibility
Protected
Inherited
Theme
OS
Light
Dark
GitHub
npm
@japofc/baileys - v2.4.7
Loading...
Count non-overlapping occurrences of
needleinhaystack.