Skip to content

Documentation


Documentation / @blazetrails/activesupport / BlankString

Class: BlankString ​

Defined in: packages/activesupport/lib/core-ext/object/blank.ts:78

Constructors ​

Constructor ​

new BlankString(): String

Returns ​

String

Properties ​

BLANK_RE ​

readonly static BLANK_RE: RegExp

Defined in: packages/activesupport/lib/core-ext/object/blank.ts:79

Methods ​

isBlank() ​

static isBlank(value): boolean

Defined in: packages/activesupport/lib/core-ext/object/blank.ts:81

Parameters ​

ParameterType
valuestring | Uint8Array<ArrayBufferLike>

Returns ​

boolean


isPresent() ​

static isPresent(value): boolean

Defined in: packages/activesupport/lib/core-ext/object/blank.ts:91

Parameters ​

ParameterType
valuestring | Uint8Array<ArrayBufferLike>

Returns ​

boolean