blob: b446155df5b3fc3f52cbfa4cbf496ec9c2e43c36 (
plain)
1
2
3
4
5
6
7
8
9
10
|
// Copyright 2018-2024 the Deno authors. All rights reserved. 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;
}
|