UNPKG

imma

Version:

A collection of functions for dealing with native arrays and objects immutably

6 lines (4 loc) 154 B
'use strict' const findKey = require('./findKey') const keyOf = module.exports = (iterable, value) => findKey(iterable, other => value === other)