Why Gemfury? Push, build, and install  RubyGems npm packages Python packages Maven artifacts PHP packages Go Modules Debian packages RPM packages NuGet packages

Repository URL to install this package:

Details    
chain-able-deps / src / util / length.ts
Size: Mime:
import prop from '../fp/prop'

/**
 * @desc reduces size by 100s of gzip bytes
 * @NOTE `length` is a global property of `this` which is `global` or `window`
 * @name length
 * @alias getLength
 * @type {Functon}
 * @see fp/prop
 * {@link https://developer.mozilla.org/en-US/docs/Web/API/Window/length window.length}
 * @see {@link window.length}
 */
export default prop('length')