UNPKG

@flex-development/pathe

Version:

Universal drop-in replacement for node:path

23 lines (22 loc) 464 B
/** * @file isSep * @module pathe/lib/isSep */ import type { Sep } from '@flex-development/pathe'; /** * Check if `value` is a path segment separator. * * @see {@linkcode Sep} * * @category * utils * * @this {void} * * @param {unknown} value * The value to check * @return {value is Sep} * `true` if `value` is path segment separator, `false` otherwise */ declare function isSep(this: void, value: unknown): value is Sep; export default isSep;