isGlob

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

Check if the passed string is a valid glob pattern or not

Params

  1. $string*-String

    The string to check

Return

  1. -Boolean

    true if is a valid glob pattern, false if not

Example

import { isGlob } from '@blackbyte/sugar/is';
isGlob('something/.js); // => true

Todo

  • testsnormal