recoil
Version:
Recoil - A state management library for React
18 lines (17 loc) • 564 B
Flow
/**
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*
* @emails oncall+recoil
* @flow strict-local
* @format
*/
;
/**
* The everySet() method tests whether all elements in the given Set pass the
* test implemented by the provided function.
*/
declare function everySet<T>(set: $ReadOnlySet<T>, callback: (value: T, key: T, set: $ReadOnlySet<T>) => boolean, context?: mixed): boolean;
module.exports = everySet;