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    
exotic / dist / types / kind / isTypeEq.d.ts
Size: Mime:
import { Typeof } from '../../../typings';
/**
 * @desc typeof x === type
 * @since 5.0.0-beta.6
 * @name isType
 * @alias typeEq
 *
 * @curried 2
 *
 * @param type to match
 * @param x object to match `typeof x === type`
 *
 * {@link https://github.com/facebook/jest/blob/master/packages/jest-get-type/src/index.js jest-get-type}
 * {@link https://github.com/yesvods/sanife/blob/master/src/type.js#L3 sanife-type}
 * @see {@link sanife-type}
 * @see {@link jest-get-type}
 *
 * @example
 *    isType('string')('eh') //=> true
 *
 */
declare function isType(type: Typeof, x: Typeof): boolean;
declare const isTypeEq: import("chain-able-deps/dist/typings/fp/curry").CurriedFunction2<Typeof, Typeof, boolean>;
export { isTypeEq, isType };
export default isTypeEq;