@lonu/stc
Version:
A tool for converting OpenApi/Swagger/Apifox into code.
17 lines • 447 B
TypeScript
/**
* Test whether the given string is a glob.
*
* @example Usage
* ```ts
* import { isGlob } from "@std/path/is-glob";
* import { assert } from "@std/assert";
*
* assert(!isGlob("foo/bar/../baz"));
* assert(isGlob("foo/*ar/../baz"));
* ```
*
* @param str String to test.
* @returns `true` if the given string is a glob, otherwise `false`
*/
export declare function isGlob(str: string): boolean;
//# sourceMappingURL=is_glob.d.ts.map