Functions Index :: T :: Typename

[<< up one level]

Module:

base :: core

Definition:

Typename(val x)

Description:

Returns a distinct string value depending on the type of the variable passed as argument (the standard Avisynth type's name, in lowercase).

Examples:

v0 = VarType(Undef()) # v0 == "undefined"

v1 = Typename(BlankClip()) # v1 == "clip"

v2 = Typename(3) # v2 == "int"

v3 = Typename(2.35) # v3 == "float"

v4 = Typename(true) # v4 == "bool"

v5 = Typename("this is a string") # v5 == "string"

 

[<< top]