Skip to content

function getNormalValue()

Super4Jet edited this page Nov 25, 2020 · 2 revisions

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