Home Reference Source

Function

Static Public Summary
public

isArray(collection: any): boolean

since 0.1.0
public

isFunction(func: any): boolean

since 0.1.0
public

isNotArray(collection: any): boolean

since 0.1.0
public

isNotFunction(func: any): boolean

since 0.1.0
public

isNotNull(data: any): boolean

since 0.1.0
public

isNotUndefined(data: any): boolean

since 0.1.0
public

isNull(data: any): boolean

since 0.1.0
public

isUndefined(data: any): boolean

since 0.1.0

Static Public

public isArray(collection: any): boolean since 0.1.0 source

import {isArray} from 'listas/src/helper/check.js'

Params:

NameTypeAttributeDescription
collection any

the element to check

Return:

boolean

true if the element is an Array or false otherwise

public isFunction(func: any): boolean since 0.1.0 source

import {isFunction} from 'listas/src/helper/check.js'

Params:

NameTypeAttributeDescription
func any

the element to check

Return:

boolean

true if the element is function or false otherwise

public isNotArray(collection: any): boolean since 0.1.0 source

import {isNotArray} from 'listas/src/helper/check.js'

Params:

NameTypeAttributeDescription
collection any

the element to check

Return:

boolean

true if the element is't an Array or false otherwise

public isNotFunction(func: any): boolean since 0.1.0 source

import {isNotFunction} from 'listas/src/helper/check.js'

Params:

NameTypeAttributeDescription
func any

the element to check

Return:

boolean

true if the element isn't function or false otherwise

public isNotNull(data: any): boolean since 0.1.0 source

import {isNotNull} from 'listas/src/helper/check.js'

Params:

NameTypeAttributeDescription
data any

the elements to check

Return:

boolean

true if the element isn't null or false otherwise

public isNotUndefined(data: any): boolean since 0.1.0 source

import {isNotUndefined} from 'listas/src/helper/check.js'

Params:

NameTypeAttributeDescription
data any

the elements to check

Return:

boolean

true if the element isn't undefined or false otherwise

public isNull(data: any): boolean since 0.1.0 source

import {isNull} from 'listas/src/helper/check.js'

Params:

NameTypeAttributeDescription
data any

the element to check

Return:

boolean

true if the element is null or false otherwise

public isUndefined(data: any): boolean since 0.1.0 source

import {isUndefined} from 'listas/src/helper/check.js'

Params:

NameTypeAttributeDescription
data any

the element to check

Return:

boolean

true if the element is undefined or false otherwise