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

  1. path*-String

    The path to check

Return

  1. -Boolean

    true if the path is valide, false if not

Example

import { isPath } from '@blackbyte/sugar/is';
isPath('hello/world'); // => true

Todo

  • testsnormal