SignStyle
Extends:
Enum → SignStyle
Method Summary
Public Methods | ||
public |
parse(positive: *, strict: *, fixedWidth: *): * Parse helper. |
Inherited Summary
From class Enum | ||
public |
equals(other: *): * |
|
public |
toJSON(): string toJSON() use by JSON.stringify delegates to toString() |
|
public |
toString(): * |
Public Methods
public parse(positive: *, strict: *, fixedWidth: *): * source
Parse helper.
Params:
Name | Type | Attribute | Description |
positive | * | true if positive sign parsed, false for negative sign |
|
strict | * | true if strict, false if lenient |
|
fixedWidth | * | true if fixed width, false if not |
Return:
* | true if valid |