isDirectory

Type:Function
Status:stable
Since:1.0.0
Platform:node
@blackbyte.sugar.node.is

This function check if the passed string path is a directory or not

Params

  1. path*-String

    The path to check

Return

  1. -Boolean

    true if is a directory, false if not

Example

import { isDirectory } from '@blackbyte/sugar/is';
isDirectory('something/cool');

Todo

  • interfacenormal
  • docnormal
  • testsnormal