Home Reference Source
public class | source

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:

NameTypeAttributeDescription
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