shared
utils
string
object
is
extension
js
tracking
string
dom
when
selection
position
iframe
event
scroll
console
node
string
project
fs
console
isPath
Type:Function
Status:stable
Since:1.0.0
Platform:jsnode
@blackbyte.sugar.shared.is
Check if the passed string is a valid path or not
Params
- path*-String
The path to check
Return
- -Boolean
true if the path is valide, false if not
Example
import { isPath } from '@blackbyte/sugar/is';
isPath('hello/world'); // => trueTodo
- testsnormal
Author
- Olivier Bosselolivier.bossel@gmail.comhttps://blackbyte.space