Rush StackShopBlogEvents
Skip to main content

Home > @rushstack/node-core-library > Path > convertToBackslashes

Path.convertToBackslashes() method

Replaces POSIX-style slashes with Windows-style backslashes

Signature:

static convertToBackslashes(inputPath: string): string;

Parameters

ParameterTypeDescription
inputPathstring

Returns:

string

Remarks

POSIX is a registered trademark of the Institute of Electrical and Electronic Engineers, Inc.