index.js
function(segment, strict) {
		if (!_.isString(segment)) {
			throw new TypeError('segment must be of type string');
		}
		return segment === module.exports.reformatSegment(segment, strict);
	}
function(segment, strict) {
		if (!_.isString(segment)) {
			throw new TypeError('segment must be of type string');
		}
		return segment === module.exports.reformatSegment(segment, strict);
	}
function ( segment , strict ) { if ( ! _ . isString ( segment ) ) { throw new TypeError ( 'segment must be of type string' ) ; } return segment === module . exports . reformatSegment ( segment , strict ) ; }
Checks if fs segment is valid

@param  {String} segment
@param  {Boolean=true} strict
@return {Boolean}
Checks if fs segment is valid