Version: v0.7.1 - Beta.  We welcome contributors & feedback.

File.hasEndPath

File.hasEndPath($fullPath, $endPath) -> boolean

Description

Return true if $fullPath ends with $endPath.

$fullPath = '/users/theo123/profile/image.png'

File.hasEndPath($fullPath, '/profile/image.png')
//= true

See Also