blob: 46b6128d6f68feea98eebe40c639a8bac18e0196 (
plain)
1
2
3
4
5
6
7
8
9
10
|
/**
* Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
declare type ValueType = 'array' | 'bigint' | 'boolean' | 'function' | 'null' | 'number' | 'object' | 'regexp' | 'map' | 'set' | 'date' | 'string' | 'symbol' | 'undefined';
export declare function getType(value: unknown): ValueType;
export declare const isPrimitive: (value: unknown) => boolean;
export {};
|