isFunction

[ Function ]

export function isFunction(thisAction: Action): thisAction is TAFunction;

Checks whether the transferred parameter is of type TAFunction.

Parameter

Name

Type

Description

thisAction

Action

Variable to be tested.

Return value

Type

Description

boolean

Returns true if the transferred value matches the corresponding type.

Returns false if the transferred value does not match the corresponding type.

isFunction 1:

Available from version 1.12