function sequenceEqual(compareTo, comparor) {
    return function (source) { return source.lift(new SequenceEqualOperator(compareTo, comparor)); };
}
Synchronous version of dir.

@param {Options} options
@returns {DirSyncObject} object consists of name and removeCallback
@throws {Error} if it cannot create a directory