【文件属性】:
文件名称:is-root-path:检查路径是否为根路径。 例子
文件大小:5KB
文件格式:ZIP
更新时间:2021-05-26 08:10:03
JavaScript
根路径
检查路径是否为根路径。 示例: /或C:\
安装
$ npm install is-root-path
用法
const isRootPath = require ( 'is-root-path' ) ;
isRootPath ( '/' ) ;
//=> true
isRootPath ( '/Users' ) ;
//=> false
执照
麻省理工学院:copyright:
【文件预览】:
is-root-path-main
----index.js(445B)
----test.js(726B)
----package.json(632B)
----index.test-d.ts(105B)
----readme.md(314B)
----.github()
--------workflows()
----license(1KB)
----index.d.ts(263B)
----.gitignore(23B)
----.npmrc(19B)
----.editorconfig(175B)
----.gitattributes(19B)