import {Config} from '@serenity-js/core/lib/io'
public class | source

Config

this class is experimental.

Tests:

Constructor Summary

Public Constructor
public

Method Summary

Public Methods
public

get(key: K): UNKNOWN

public

getAsList(key: K): Array

public

has(key: K): boolean

public

keys(): UNKNOWN

public

object(): T

public

where(fieldName: K, transformation: Function): UNKNOWN

public

whereIf(condition: boolean, fieldName: K, transformation: Function): UNKNOWN

Public Constructors

public constructor() source

Public Methods

public get(key: K): UNKNOWN source

Params:

NameTypeAttributeDescription
key K

Returns:

UNKNOWN

public getAsList(key: K): Array source

Params:

NameTypeAttributeDescription
key K

Returns:

Array

public has(key: K): boolean source

Params:

NameTypeAttributeDescription
key K

Returns:

boolean

public keys(): UNKNOWN source

Returns:

UNKNOWN

public object(): T source

Returns:

T

public where(fieldName: K, transformation: Function): UNKNOWN source

Params:

NameTypeAttributeDescription
fieldName K
transformation Function

Returns:

UNKNOWN

public whereIf(condition: boolean, fieldName: K, transformation: Function): UNKNOWN source

Params:

NameTypeAttributeDescription
condition boolean
fieldName K
transformation Function

Returns:

UNKNOWN