_.templateSettings.imports._

_.templateSettings.imports._ source A reference to the lodash function.

_.templateSettings.imports

_.templateSettings.imports source (Object): Used to import variables into the compiled template.

_.templateSettings.evaluate

_.templateSettings.evaluate source (RegExp): Used to detect code to be evaluated.

_.templateSettings.escape

_.templateSettings.escape source (RegExp): Used to detect data property values to be HTML-escaped.

_.templateSettings

_.templateSettings source npm package (Object): By default, the template delimiters used by lodash are like those in embedded Ruby (ERB). Change the following template settings to use alternative delimiters.

_.template

_.template([string=''], [options={}]) source npm package Creates a compiled template function that can interpolate data properties in "interpolate" delimiters, HTML-escape interpolated data properties in "escape" delimiters, and execute JavaScript in "evaluate" delimiters. Data properties may be accessed as free variables in the template. If a setting object is given, it takes precedence over _.templateSettings values.Note: In the development build _.template utilizes sourceURLs for easier de

_.tap

_.tap(value, interceptor) source This method invokes interceptor and returns value. The interceptor is invoked with one argument; (value). The purpose of this method is to "tap into" a method chain sequence in order to modify intermediate results. Since 0.1.0 Arguments value (*): The value to provide to interceptor. interceptor (Function): The function to invoke. Returns (*): Returns value. Example _([1, 2, 3])  .tap(function(array) { // Mutate input array.    array.pop();  })  .reverse()

_.takeWhile

_.takeWhile(array, [predicate=_.identity]) source npm package Creates a slice of array with elements taken from the beginning. Elements are taken until predicate returns falsey. The predicate is invoked with three arguments: (value, index, array). Since 3.0.0 Arguments array (Array): The array to query. [predicate=_.identity] (Function): The function invoked per iteration. Returns (Array): Returns the slice of array. Example var users = [   { 'user': 'barney',  'active': false },   { 'us

_.takeRightWhile

_.takeRightWhile(array, [predicate=_.identity]) source npm package Creates a slice of array with elements taken from the end. Elements are taken until predicate returns falsey. The predicate is invoked with three arguments: (value, index, array). Since 3.0.0 Arguments array (Array): The array to query. [predicate=_.identity] (Function): The function invoked per iteration. Returns (Array): Returns the slice of array. Example var users = [   { 'user': 'barney',  'active': true },   { 'user

_.takeRight

_.takeRight(array, [n=1]) source npm package Creates a slice of array with n elements taken from the end. Since 3.0.0 Arguments array (Array): The array to query. [n=1] (number): The number of elements to take. Returns (Array): Returns the slice of array. Example _.takeRight([1, 2, 3]); // => [3]   _.takeRight([1, 2, 3], 2); // => [2, 3]   _.takeRight([1, 2, 3], 5); // => [1, 2, 3]   _.takeRight([1, 2, 3], 0); // => []