source: node_modules/ramda-adjunct/es/invoke.js@ d24f17c

main
Last change on this file since d24f17c was d24f17c, checked in by Aleksandar Panovski <apano77@…>, 15 months ago

Initial commit

  • Property mode set to 100644
File size: 533 bytes
Line 
1import { __ } from 'ramda';
2import invokeArgs from './invokeArgs';
3
4/**
5 * Invokes the method at path of object.
6 *
7 * @func invoke
8 * @memberOf RA
9 * @since {@link https://char0n.github.io/ramda-adjunct/2.31.0|v2.31.0}
10 * @category Object
11 * @sig Array -> Object -> *
12 * @param {Array.<string|number>} path The path of the method to invoke
13 * @param {Object} obj The object to query
14 * @return {*}
15 * @example
16 *
17 * RA.invoke(['random'], Math); //=> 0.5113253820009047
18 */
19var invoke = invokeArgs(__, [], __);
20export default invoke;
Note: See TracBrowser for help on using the repository browser.