The base :: core module

The base :: core module provides functions, constants and global variables for the implementation of basic (core) capabilities of AVSLib.

Required modules

None

Functions

NameDescription

ImportIf()

Conditionaly imports into the script one of two files based on the value of condition (file path_true...

IsCallable()

Returns true if its argument can be called (ie it is a function)...

Null()

Returns a null (zero) value appropriate for the type of its argument (ie either a zero-length clip, ...

Self()

Returns its argument unchanged...

Throw()

Throws an error (causing immediate termination of script execution), optionally showing a ...

Typename()

Returns a distinct string value depending on the type of the variable passed as argument...

Undef()

Returns an "undefined" value...

VarType()

Returns a distinct integer value depending on the type of the variable passed as argument...

Constants

NameDescription

MAX_INT

Maximum positive int value supported by Avisynth

MIN_INT

Minimum negative int value supported by Avisynth

Variables

None