mirror of
https://github.com/denoland/deno.git
synced 2025-02-24 06:02:18 -05:00
10 lines
370 B
TypeScript
10 lines
370 B
TypeScript
// Copyright 2018-2025 the Deno authors. MIT license.
|
|
// Copyright the Browserify authors. MIT License.
|
|
// Ported from https://github.com/browserify/path-browserify/
|
|
// This module is browser compatible.
|
|
|
|
import { CHAR_FORWARD_SLASH } from "../_common/constants.ts";
|
|
|
|
export function isPosixPathSeparator(code: number): boolean {
|
|
return code === CHAR_FORWARD_SLASH;
|
|
}
|