Repository URL to install this package:
|
Version:
2.0.1 ▾
|
import { PropertyIsEnumerable, PrototypeOf } from './generic'
import { JS } from './NATIVE'
export function isPrototypeOf(x: any, prop: any): PrototypeOf
export function isEnumerable(x: any, prop: any): PropertyIsEnumerable
export type Property = 'property in Object' | boolean | string | any
export function hasIn(o: any, prop: any): prop is Property
// no generics
// export function hasIn(obj: Struct<any>, s: Prop): boolean
// export function hasIn(obj: Struct<any>): (s: Prop) => boolean
export function hasIn(obj: Object | any, prop: any): boolean
export function isIn(obj: Object | any, prop: any): boolean
// ---- EMPTY ---
export function isEmpty(x: any): boolean
export function toSpecies(x: Array<any>): JS
export function toEmpty(x: typeof Array): Array<void>
export function isEmpty(x: any): boolean
export function isEmpty(x: any): boolean
export function hasOwnProp(x: Object | any, prop: any): boolean