flow like the river
This commit is contained in:
commit
013fe673f3
42435 changed files with 5764238 additions and 0 deletions
9
VISUALIZACION/node_modules/polished/lib/internalHelpers/_endsWith.js.flow
generated
vendored
Executable file
9
VISUALIZACION/node_modules/polished/lib/internalHelpers/_endsWith.js.flow
generated
vendored
Executable file
|
|
@ -0,0 +1,9 @@
|
|||
// @flow
|
||||
|
||||
/**
|
||||
* Check if a string ends with something
|
||||
* @private
|
||||
*/
|
||||
export default function endsWith(string: string, suffix: string): boolean {
|
||||
return string.substr(-suffix.length) === suffix
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue