Dashboard sipadu mbip
您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符
Siti Rahayu d6c36c7c9b Merge branch 'master' of http://git.swisslink.com.my/SwissLink/sipadu_mbip 4 年前
..
index.d.ts Merge branch 'master' of http://git.swisslink.com.my/SwissLink/sipadu_mbip 4 年前
index.js Merge branch 'master' of http://git.swisslink.com.my/SwissLink/sipadu_mbip 4 年前
license Merge branch 'master' of http://git.swisslink.com.my/SwissLink/sipadu_mbip 4 年前
package.json Merge branch 'master' of http://git.swisslink.com.my/SwissLink/sipadu_mbip 4 年前
readme.md Merge branch 'master' of http://git.swisslink.com.my/SwissLink/sipadu_mbip 4 年前

readme.md

is-path-inside Build Status

Check if a path is inside another path

Install

$ npm install is-path-inside

Usage

const isPathInside = require('is-path-inside');

isPathInside('a/b/c', 'a/b');
//=> true

isPathInside('a/b/c', 'x/y');
//=> false

isPathInside('a/b/c', 'a/b/c');
//=> false

isPathInside('/Users/sindresorhus/dev/unicorn', '/Users/sindresorhus');
//=> true

License

MIT © Sindre Sorhus