Functions
Const addMethod
- addMethod(obj: any, name: string, fn: any, ...args: any[]): any
-
Parameters
-
obj: any
-
name: string
-
fn: any
-
Rest ...args: any[]
Returns any
Const convertError
- convertError(error: any): any
Const createProperty
- createProperty(global: any): void
Const defineAccessorProperty
- defineAccessorProperty(obj: any, prop: string | number | symbol, value: any): any
-
Parameters
-
obj: any
-
prop: string | number | symbol
-
value: any
Returns any
Const defineProperty
- defineProperty(obj: any, prop: string | number | symbol, attrs?: PropertyDescriptor): any
-
Parameters
-
obj: any
-
prop: string | number | symbol
-
attrs: PropertyDescriptor = ...
Returns any
Const defineStaticProperty
- defineStaticProperty(obj: any, prop: string | number | symbol, attrs: { __proto__?: null; value: any }): any
-
Parameters
-
obj: any
-
prop: string | number | symbol
-
attrs: { __proto__?: null; value: any }
-
Optional __proto__?: null
-
value: any
Returns any
Const iteratorFor
-
Type parameters
Parameters
Const normalize
- normalize(value: any): string
-
Parameters
Returns string
Const normalizeBy
- normalizeBy(name: string): string
-
Parameters
Returns string
Const popFlag
- popFlag(argv: any, flag: any): boolean
-
Parameters
Returns boolean
Const registerProperty
- registerProperty(obj: any, key: string | number | symbol, fn: any): any
-
Parameters
-
obj: any
-
key: string | number | symbol
-
fn: any
Returns any
Const withValue
- withValue(value: any): any
Creates A function expression from the specified string lambda expression