UNPKG

@lonu/stc

Version:

A tool for converting OpenApi/Swagger/Apifox into code.

9 lines (8 loc) 353 B
// 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.js"; export function isPosixPathSeparator(code) { return code === CHAR_FORWARD_SLASH; }