function getNormalValue() - nsc-de/js-database GitHub Wiki

Overview

implementations
getNormalValue(val : any[]) : DatabaseArray
getNormalValue(val : JSObject) : DatabaseObject
getNormalValue(val : DatabaseObject) : DatabaseObject
getNormalValue(val : DatabaseArray) : DatabaseArray
getNormalValue(val : string) : string
getNormalValue(val : number) : number
getNormalValue(val : boolean) : boolean
getNormalValue(val : null) : null
getNormalValue(val : undefined) : undefined




Implementations

getNormalValue(val : DatabaseArray) : any[]

🔨 Creates a normal array from a given DatabaseArray

parameters:
val 📋 the DatabaseArray you want to convert back to a normal value

returns 🔨 the simple array


getNormalValue(val : DatabaseObject) : JSObject

🔨 Creates a normal object from a given DatabaseObject

parameters:
val 🏡 the DatabaseObject you want to convert back to a normal value

returns 🔨 the simple object


getNormalValue(val : any[]) : any[]

This function is not really useful. It gives just the input back.
It is just implemented that you don't get an error when you give
an array as argument.

Deprecated: ⛔ Using this function with that argument does nothing and just slows down your process

parameters:
val 🏡 the array you want to convert back to a normal value

returns ⛔ the same array that was given as input


getNormalValue(val : JSObject) : JSObject

This function is not really useful. It gives just the input back.
It is just implemented that you don't get an error when you give
a object as argument.

Deprecated: ⛔ Using this function with that argument does nothing and just slows down your process

parameters:
val 🏡 the object you want to convert back to a normal value

returns ⛔ the same object that was given as input


getNormalValue(val : string) : string

This function is not really useful. It gives just the input back.
It is just implemented that you don't get an error when you give
a string as argument.

Deprecated: ⛔ Using this function with that argument does nothing and just slows down your process

parameters:
val 📋 the string you want to convert back to a normal value

returns ⛔ the same string that is given as input


getNormalValue(val : number) : number

This function is not really useful. It gives just the input back.
It is just implemented that you don't get an error when you give
a number as argument.

Deprecated: ⛔ Using this function with that argument does nothing and just slows down your process

parameters:
val 1️⃣ the number you want to convert back to a normal value

returns ⛔ the same number that is given as input


getNormalValue(val : boolean) : boolean

This function is not really useful. It gives just the input back.
It is just implemented that you don't get an error when you give
a boolean as argument.

Deprecated: ⛔ Using this function with that argument does nothing and just slows down your process

parameters:
val ❓ the boolean you want to convert back to a normal value

returns ⛔ the same boolean that is given as input


getNormalValue(val : null) : null

This function is not really useful. It gives just the input back.
It is just implemented that you don't get an error when you give
null as argument.

Deprecated: ⛔ Using this function with that argument does nothing and just slows down your process

parameters:
val ❓ undefined

returns ⛔ null


getNormalValue(val : undefined) : undefined

This function is not really useful. It gives just the input back.
It is just implemented that you don't get an error when you give
undefinedas argument.

Deprecated: ⛔ Using this function with that argument does nothing and just slows down your process

parameters:
val ❓ undefined

returns ⛔ undefined


⚠️ **GitHub.com Fallback** ⚠️